summaryrefslogtreecommitdiff
path: root/src/operserv.c
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 /src/operserv.c
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
Diffstat (limited to 'src/operserv.c')
-rw-r--r--src/operserv.c20
1 files changed, 10 insertions, 10 deletions
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;
}