mirror of
https://github.com/anope/anope.git
synced 2026-07-03 19:23:14 +02:00
BUILD : 1.7.8 (580) BUGS : 301 302 NOTES : Fixed (1) uninitialized var in nickserv do_drop (2) remote whois returning incorrect numeric (3) some operserv commands using notice() instead of notice_user()
git-svn-id: svn://svn.anope.org/anope/trunk@580 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@430 5417fbe8-f217-4b02-8779-1006273d7864
This commit is contained in:
parent
e9f57f1f42
commit
593bfaea76
@@ -4,6 +4,9 @@ Provided by Anope Dev. <dev@anope.org> - 2005
|
||||
02/13 A Internal Event support, see EVENTS in the doc folder for help [ #00]
|
||||
02/05 A Support for Unreal 3.2 +I channel mode. [ #00]
|
||||
02/03 A Merged anope-win32 branch into the main, now Win32 ready. [ #00]
|
||||
02/22 F Uninitialized variable in NickServ DROP. [ #00]
|
||||
02/22 F Remote whois sending incorrect numeric back. [#301]
|
||||
02/22 F Several OperServ commands not respecting NickServ SET MSG. [#302]
|
||||
02/21 F Updated documentation for one style and small fixes. [ #00]
|
||||
02/13 F nickIsServices() works if format is nick@services [ #00]
|
||||
02/12 F Win32 builds can now build with encryption [ #00]
|
||||
|
||||
+1
-1
@@ -363,7 +363,7 @@ int m_whois(char *source, char *who)
|
||||
}
|
||||
anope_cmd_311("%s %s %s %s * :%s", source, who,
|
||||
ServiceUser, ServiceHost, clientdesc);
|
||||
anope_cmd_219(source, who);
|
||||
anope_cmd_312("%s %s %s :%s", source, who, ServerName, ServerDesc);
|
||||
anope_cmd_317("%s %s %ld %ld :seconds idle, signon time", source,
|
||||
who, time(NULL) - start_time, start_time);
|
||||
anope_cmd_318(source, who);
|
||||
|
||||
+1
-1
@@ -2758,7 +2758,7 @@ static int do_drop(User * u)
|
||||
NickRequest *nr = NULL;
|
||||
int is_servadmin = is_services_admin(u);
|
||||
int is_mine; /* Does the nick being dropped belong to the user that is dropping? */
|
||||
char *my_nick;
|
||||
char *my_nick = NULL;
|
||||
|
||||
if (readonly && !is_servadmin) {
|
||||
notice_lang(s_NickServ, u, NICK_DROP_DISABLED);
|
||||
|
||||
+10
-10
@@ -936,21 +936,21 @@ static int send_clone_lists(User * u)
|
||||
int i;
|
||||
|
||||
if (!CheckClones) {
|
||||
notice(s_OperServ, u->nick, "CheckClones not enabled.");
|
||||
notice_user(s_OperServ, u, "CheckClones not enabled.");
|
||||
return MOD_CONT;
|
||||
}
|
||||
|
||||
notice(s_OperServ, u->nick, "clonelist[]");
|
||||
notice_user(s_OperServ, u, "clonelist[]");
|
||||
for (i = 0; i < CLONE_DETECT_SIZE; i++) {
|
||||
if (clonelist[i].host)
|
||||
notice(s_OperServ, u->nick, " %10ld %s", clonelist[i].time,
|
||||
clonelist[i].host ? clonelist[i].host : "(null)");
|
||||
notice_user(s_OperServ, u, " %10ld %s", clonelist[i].time,
|
||||
clonelist[i].host ? clonelist[i].host : "(null)");
|
||||
}
|
||||
notice(s_OperServ, u->nick, "warnings[]");
|
||||
notice_user(s_OperServ, u, "warnings[]");
|
||||
for (i = 0; i < CLONE_DETECT_SIZE; i++) {
|
||||
if (clonelist[i].host)
|
||||
notice(s_OperServ, u->nick, " %10ld %s", warnings[i].time,
|
||||
warnings[i].host ? warnings[i].host : "(null)");
|
||||
notice_user(s_OperServ, u, " %10ld %s", warnings[i].time,
|
||||
warnings[i].host ? warnings[i].host : "(null)");
|
||||
}
|
||||
return MOD_CONT;
|
||||
}
|
||||
@@ -1433,7 +1433,7 @@ static int do_ignorelist(User * u)
|
||||
notice_lang(s_OperServ, u, OPER_IGNORE_LIST);
|
||||
sent_header = 1;
|
||||
}
|
||||
notice(s_OperServ, u->nick, "%s", id->who);
|
||||
notice_user(s_OperServ, u, "%s", id->who);
|
||||
}
|
||||
}
|
||||
if (!sent_header)
|
||||
@@ -4918,9 +4918,9 @@ static int do_matchwild(User * u)
|
||||
char *pat = strtok(NULL, " ");
|
||||
char *str = strtok(NULL, " ");
|
||||
if (pat && str)
|
||||
notice(s_OperServ, u->nick, "%d", match_wild(pat, str));
|
||||
notice_user(s_OperServ, u, "%d", match_wild(pat, str));
|
||||
else
|
||||
notice(s_OperServ, u->nick, "Syntax error.");
|
||||
notice_user(s_OperServ, u, "Syntax error.");
|
||||
return MOD_CONT;
|
||||
}
|
||||
|
||||
|
||||
+5
-1
@@ -8,10 +8,14 @@
|
||||
VERSION_MAJOR="1"
|
||||
VERSION_MINOR="7"
|
||||
VERSION_PATCH="8"
|
||||
VERSION_BUILD="579"
|
||||
VERSION_BUILD="580"
|
||||
|
||||
# $Log$
|
||||
#
|
||||
# BUILD : 1.7.8 (580)
|
||||
# BUGS : 301 302
|
||||
# NOTES : Fixed (1) uninitialized var in nickserv do_drop (2) remote whois returning incorrect numeric (3) some operserv commands using notice() instead of notice_user()
|
||||
#
|
||||
# BUILD : 1.7.8 (579)
|
||||
# BUGS :
|
||||
# NOTES : Updated a small leftover from my previous commit.
|
||||
|
||||
Reference in New Issue
Block a user