mirror of
https://github.com/anope/anope.git
synced 2026-06-29 05:46:37 +02:00
BUILD : 1.7.7 (530) BUGS : N/A NOTES : Fixed /ns status to be consistant with what help reports it will do.
git-svn-id: svn://svn.anope.org/anope/trunk@530 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@384 5417fbe8-f217-4b02-8779-1006273d7864
This commit is contained in:
parent
7db7984a21
commit
73df6da75c
@@ -16,6 +16,7 @@ Provided by Anope Dev. <dev@anope.org> - 2004/2005
|
||||
11/19 A Added anope_cmd_ctcp() to code API, for sending CTCP messages. [ #00]
|
||||
11/18 A Unable to use registered nicknames as bot nicks from now on. [ #00]
|
||||
11/18 A NSAddAccessOnReg to control access list on registration. [ #00]
|
||||
01/08 F /NS Status always returns 0 for unregisterd nicks like help says [ #00]
|
||||
01/07 F Fixed example.conf syntax mistake. [ #00]
|
||||
01/06 F Possible crash using memoserv. [#269]
|
||||
01/05 F Few updates to Dutch language file (nl.l). [ #00]
|
||||
|
||||
+6
-3
@@ -4059,6 +4059,7 @@ static int do_ghost(User * u)
|
||||
static int do_status(User * u)
|
||||
{
|
||||
User *u2;
|
||||
NickAlias *na = NULL;
|
||||
int i = 0;
|
||||
char *nick = strtok(NULL, " ");
|
||||
|
||||
@@ -4068,12 +4069,14 @@ static int do_status(User * u)
|
||||
nick = u->nick;
|
||||
|
||||
while (nick && (i++ < 16)) {
|
||||
if (!(u2 = finduser(nick)))
|
||||
if (!(u2 = finduser(nick))) /* Nick is not online */
|
||||
notice_lang(s_NickServ, u, NICK_STATUS_0, nick);
|
||||
else if (nick_identified(u2))
|
||||
else if (nick_identified(u2)) /* Nick is identified */
|
||||
notice_lang(s_NickServ, u, NICK_STATUS_3, nick);
|
||||
else if (nick_recognized(u2))
|
||||
else if (nick_recognized(u2)) /* Nick is recognised, but NOT identified */
|
||||
notice_lang(s_NickServ, u, NICK_STATUS_2, nick);
|
||||
else if ((na = findnick(nick)) == NULL) /* Nick is online, but NOT a registered */
|
||||
notice_lang(s_NickServ, u, NICK_STATUS_0, nick);
|
||||
else
|
||||
notice_lang(s_NickServ, u, NICK_STATUS_1, nick);
|
||||
|
||||
|
||||
+5
-1
@@ -8,10 +8,14 @@
|
||||
VERSION_MAJOR="1"
|
||||
VERSION_MINOR="7"
|
||||
VERSION_PATCH="7"
|
||||
VERSION_BUILD="529"
|
||||
VERSION_BUILD="530"
|
||||
|
||||
# $Log$
|
||||
#
|
||||
# BUILD : 1.7.7 (530)
|
||||
# BUGS : N/A
|
||||
# NOTES : Fixed /ns status to be consistant with what help reports it will do.
|
||||
#
|
||||
# BUILD : 1.7.7 (529)
|
||||
# BUGS :
|
||||
# NOTES : Fixed example.conf syntax error, token was space and not comma space.
|
||||
|
||||
Reference in New Issue
Block a user