summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgeniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b <geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864>2005-02-22 15:05:31 +0000
committergeniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b <geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864>2005-02-22 15:05:31 +0000
commit593bfaea76d034323de14bcc3c7f903c84527db6 (patch)
tree3d2c896a6b025077b6a6d9389c9aae8adf30c844
parente9f57f1f42f2ad5c2dd1a3a37126d4ddd5121a4b (diff)
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
-rw-r--r--Changes3
-rw-r--r--src/messages.c2
-rw-r--r--src/nickserv.c2
-rw-r--r--src/operserv.c20
-rw-r--r--version.log6
5 files changed, 20 insertions, 13 deletions
diff --git a/Changes b/Changes
index aeaa517f4..6c7c71282 100644
--- a/Changes
+++ b/Changes
@@ -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]
diff --git a/src/messages.c b/src/messages.c
index 3d79ad2b2..e6ad168f7 100644
--- a/src/messages.c
+++ b/src/messages.c
@@ -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);
diff --git a/src/nickserv.c b/src/nickserv.c
index 052e3c5bf..f43ed30bf 100644
--- a/src/nickserv.c
+++ b/src/nickserv.c
@@ -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);
diff --git a/src/operserv.c b/src/operserv.c
index 91b8ef2ce..76434f667 100644
--- a/src/operserv.c
+++ b/src/operserv.c
@@ -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;
}
diff --git a/version.log b/version.log
index ed9a189bf..4ba642c0a 100644
--- a/version.log
+++ b/version.log
@@ -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.