1
0
mirror of https://github.com/anope/anope.git synced 2026-06-12 19:14:47 +02:00

BUILD : 1.7.3 (184) BUGS : 98 NOTES : Improved handling of /NS INFO for pseudo-clients.

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


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@129 5417fbe8-f217-4b02-8779-1006273d7864
This commit is contained in:
dane dane@31f1291d-b8d6-0310-a050-a5561fc1590b
2004-06-10 14:18:44 +00:00
parent 1b30a95400
commit 53c1fa0fda
17 changed files with 89 additions and 2 deletions
+1
View File
@@ -1,6 +1,7 @@
Anope Version S V N
-------------------
Provided by Anope Dev. <dev@anope.org> - 2004
06/10 A Improved handling of /NS INFO for pseudo-clients. [ #98]
06/07 A Added register script in /bin/ for users to register anope. [ #00]
05/27 A Better /OS MODLIST output to include version information. [ #74]
05/25 A New /CS CLEAR HOPS for ircd's that support halfops. [ #72]
+1
View File
@@ -5,6 +5,7 @@ Anope Version S N V
CHAN_CLEARED_HOPS
OPER_MODULE_LIST_HEADER
OPER_MODULE_LIST_FOOTER
NICK_X_IS_SERVICES
*** Mod Strings:
+1
View File
@@ -611,6 +611,7 @@ E char *myStrGetTokenRemainder(const char *str, const char dilim,
int token_number);
E void doCleanBuffer(char *str);
E void EnforceQlinedNick(char *nick, char *killer);
E int nickIsServices(char *nick);
/**** news.c ****/
+2
View File
@@ -188,6 +188,8 @@ NICK_NOT_REGISTERED
El teu nick no esta registrat.
NICK_NOT_REGISTERED_HELP
El teu nick no esta registrat. Escriu /msg %s HELP per mes informació al registrat el teu nickname.
NICK_X_IS_SERVICES
Nick %s is part of this Network's Services.
NICK_X_NOT_REGISTERED
El nick %s no esta registrat.
NICK_X_IN_USE
+2
View File
@@ -205,6 +205,8 @@ NICK_NOT_REGISTERED
Dein Nick ist nicht registriert.
NICK_NOT_REGISTERED_HELP
Dein Nick ist nicht registriert. Benutze /msg %s HELP für weitere Hilfe, wie du deinen Nick registrieren kannst.
NICK_X_IS_SERVICES
Nick %s is part of this Network's Services.
NICK_X_NOT_REGISTERED
Nick %s ist nicht registriert.
NICK_X_IN_USE
+2
View File
@@ -187,6 +187,8 @@ NICK_NOT_REGISTERED
Your nick isn't registered.
NICK_NOT_REGISTERED_HELP
Your nick isn't registered. Type /msg %s HELP for information on registering your nickname.
NICK_X_IS_SERVICES
Nick %s is part of this Network's Services.
NICK_X_NOT_REGISTERED
Nick %s isn't registered.
NICK_X_IN_USE
+2
View File
@@ -193,6 +193,8 @@ NICK_NOT_REGISTERED
NICK_NOT_REGISTERED_HELP
Tu nick no esta registrado. Tipea /msg %s HELP para mayor
informacion sobre el registro de nicknames.
NICK_X_IS_SERVICES
Nick %s is part of this Network's Services.
NICK_X_NOT_REGISTERED
El nick %s no esta registrado.
NICK_X_IN_USE
+2
View File
@@ -190,6 +190,8 @@ NICK_NOT_REGISTERED
Votre nick n'est pas enregistré.
NICK_NOT_REGISTERED_HELP
Votre nick n'est pas enregistré. Tapez /msg %s HELP pour des informations sur l'enregistrement des nicks.
NICK_X_IS_SERVICES
Nick %s is part of this Network's Services.
NICK_X_NOT_REGISTERED
Le nick %s n'est pas enregistré.
NICK_X_IN_USE
+2
View File
@@ -187,6 +187,8 @@ NICK_NOT_REGISTERED
Áõôü ôï øåõäþíõìï äåí Ý÷åé êáôï÷õñùèåß.
NICK_NOT_REGISTERED_HELP
Áõôü ôï øåõäþíõìï äåí Ý÷åé êáôï÷õñùèåß. ÃñÜøå /msg %s HELP ãéá ðåñéóóüôåñåò ðëçñïöïñßåò ó÷åôéêÜ ãéá ôçí êáôï÷ýñùóç øåõäùíýìïõ..
NICK_X_IS_SERVICES
Nick %s is part of this Network's Services.
NICK_X_NOT_REGISTERED
Áõôü ôï øåõäþíõìï %s äåí åßíáé êáôï÷õñùìÝíï.
NICK_X_IN_USE
+2
View File
@@ -189,6 +189,8 @@ NICK_NOT_REGISTERED
Il tuo nick non è registrato.
NICK_NOT_REGISTERED_HELP
Il tuo nick non è registrato. Digita /msg %s HELP per informazioni sulla registrazione del nick.
NICK_X_IS_SERVICES
Nick %s is part of this Network's Services.
NICK_X_NOT_REGISTERED
Il nick %s non è registrato.
NICK_X_IN_USE
+2
View File
@@ -190,6 +190,8 @@ NICK_NOT_REGISTERED
Je nick is niet geregistreerd.
NICK_NOT_REGISTERED_HELP
Je nick is niet geregistreerd. Type /msg %s HELP voor informatie over het registreren van je nick.
NICK_X_IS_SERVICES
Nick %s is part of this Network's Services.
NICK_X_NOT_REGISTERED
Nick %s is niet geregistreerd.
NICK_X_IN_USE
+2
View File
@@ -187,6 +187,8 @@ NICK_NOT_REGISTERED
Seu nick não está registrado.
NICK_NOT_REGISTERED_HELP
Seu nick não está registrado. Digite /msg %s HELP para maiores informações sobre como registrar o nick.
NICK_X_IS_SERVICES
Nick %s is part of this Network's Services.
NICK_X_NOT_REGISTERED
Nick %s não está registrado.
NICK_X_IN_USE
+2
View File
@@ -193,6 +193,8 @@ NICK_NOT_REGISTERED
Âàø íèê íå çàðåãèñòðèðîâàí.
NICK_NOT_REGISTERED_HELP
Âàø íèê íå çàðåãèñòðèðîâàí. Íàïèøèòå /msg %s HELP äëÿ ïîëó÷åíèÿ èíôîðìàöèè î òîì, êàê çàðåãèñòðèðîâàòü íèê.
NICK_X_IS_SERVICES
Nick %s is part of this Network's Services.
NICK_X_NOT_REGISTERED
Íèê %s íå çàðåãèñòðèðîâàí.
NICK_X_IN_USE
+2
View File
@@ -191,6 +191,8 @@ NICK_NOT_REGISTERED
Nickiniz kayýtlý deðil.
NICK_NOT_REGISTERED_HELP
Nickiniz kayýtlý deðil. Nick kayýt hakkýnda bilgi almak için /msg %s HELP yazýn.
NICK_X_IS_SERVICES
Nick %s is part of this Network's Services.
NICK_X_NOT_REGISTERED
%s kayýtlý bir nick deðil.
NICK_X_IN_USE
+57 -1
View File
@@ -651,5 +651,61 @@ void EnforceQlinedNick(char *nick, char *killer)
kill_user(killer, u2->nick,
"This nick is reserved for Services. Please use a non Q-Lined nick.");
}
}
int nickIsServices(char *nick)
{
int found = 0;
if (s_NickServ && (stricmp(nick, s_NickServ) == 0))
found++;
else if (s_ChanServ && (stricmp(nick, s_ChanServ) == 0))
found++;
else if (s_HostServ && (stricmp(nick, s_HostServ) == 0))
found++;
else if (s_MemoServ && (stricmp(nick, s_MemoServ) == 0))
found++;
else if (s_BotServ && (stricmp(nick, s_BotServ) == 0))
found++;
else if (s_HelpServ && (stricmp(nick, s_HelpServ) == 0))
found++;
else if (s_OperServ && (stricmp(nick, s_OperServ) == 0))
found++;
else if (s_DevNull && (stricmp(nick, s_DevNull) == 0))
found++;
else if (s_GlobalNoticer && (stricmp(nick, s_GlobalNoticer) == 0))
found++;
else if (s_NickServAlias && (stricmp(nick, s_NickServAlias) == 0))
found++;
else if (s_ChanServAlias && (stricmp(nick, s_ChanServAlias) == 0))
found++;
else if (s_MemoServAlias && (stricmp(nick, s_MemoServAlias) == 0))
found++;
else if (s_BotServAlias && (stricmp(nick, s_BotServAlias) == 0))
found++;
else if (s_HelpServAlias && (stricmp(nick, s_HelpServAlias) == 0))
found++;
else if (s_OperServAlias && (stricmp(nick, s_OperServAlias) == 0))
found++;
else if (s_DevNullAlias && (stricmp(nick, s_DevNullAlias) == 0))
found++;
else if (s_HostServAlias && (stricmp(nick, s_HostServAlias) == 0))
found++;
else if (s_GlobalNoticerAlias
&& (stricmp(nick, s_GlobalNoticerAlias) == 0))
found++;
else if (s_BotServ) {
BotInfo *bi;
int i;
for (i = 0; i < 256; i++) {
for (bi = botlists[i]; bi; bi = bi->next) {
if (stricmp(nick, bi->nick) == 0) {
found++;
continue;
}
}
}
}
return found;
}
+2
View File
@@ -3257,6 +3257,8 @@ static int do_info(User * u)
s_NickServ, nr->nick);
}
}
} else if (nickIsServices(nick)) {
notice_lang(s_NickServ, u, NICK_X_IS_SERVICES, nick);
} else {
notice_lang(s_NickServ, u, NICK_X_NOT_REGISTERED, nick);
}
+5 -1
View File
@@ -8,10 +8,14 @@
VERSION_MAJOR="1"
VERSION_MINOR="7"
VERSION_PATCH="3"
VERSION_BUILD="183"
VERSION_BUILD="184"
# $Log$
#
# BUILD : 1.7.3 (184)
# BUGS : 98
# NOTES : Improved handling of /NS INFO for pseudo-clients.
#
# BUILD : 1.7.3 (183)
# BUGS : 92
# NOTES : Added check to see if MysqlName and MysqlUser were not null to avoid any problems.