1
0
mirror of https://github.com/anope/anope.git synced 2026-06-29 22:26:38 +02:00

BUILD : 1.7.5 (355) BUGS : N/A NOTES : An option to not detect mysql has been added to ./Config

git-svn-id: svn://svn.anope.org/anope/trunk@355 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@231 5417fbe8-f217-4b02-8779-1006273d7864
This commit is contained in:
rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b
2004-09-21 16:02:58 +00:00
parent fcd9c968ee
commit 474ee0c00a
6 changed files with 66 additions and 11 deletions
+8 -5
View File
@@ -1980,19 +1980,22 @@ static int do_register(User * u)
if (RestrictOperNicks) {
for (i = 0; i < RootNumber; i++) {
if (strstr(u->nick, ServicesRoots[i]) && !is_oper(u)) {
notice_lang(s_NickServ, u, NICK_CANNOT_BE_REGISTERED, u->nick);
notice_lang(s_NickServ, u, NICK_CANNOT_BE_REGISTERED,
u->nick);
return MOD_CONT;
}
}
for (i = 0; i < servadmins.count && (nc = servadmins.list[i]);i++) {
for (i = 0; i < servadmins.count && (nc = servadmins.list[i]); i++) {
if (strstr(u->nick, nc->display) && !is_oper(u)) {
notice_lang(s_NickServ, u, NICK_CANNOT_BE_REGISTERED, u->nick);
notice_lang(s_NickServ, u, NICK_CANNOT_BE_REGISTERED,
u->nick);
return MOD_CONT;
}
}
for (i = 0; i < servopers.count && (nc = servopers.list[i]);i++) {
for (i = 0; i < servopers.count && (nc = servopers.list[i]); i++) {
if (strstr(u->nick, nc->display) && !is_oper(u)) {
notice_lang(s_NickServ, u, NICK_CANNOT_BE_REGISTERED, u->nick);
notice_lang(s_NickServ, u, NICK_CANNOT_BE_REGISTERED,
u->nick);
return MOD_CONT;
}
}