summaryrefslogtreecommitdiff
path: root/src/botserv.c
diff options
context:
space:
mode:
authortrystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b <trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864>2004-10-04 03:32:40 +0000
committertrystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b <trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864>2004-10-04 03:32:40 +0000
commit59e7ad6024936944cd2a864ea344eb3f0ccf90f2 (patch)
treee06d8823d873022759e9a276f55a085a18ce26f7 /src/botserv.c
parent8d89775ceb31c41ec40512891ab209b217eb65d0 (diff)
BUILD : 1.7.5 (368) BUGS : N/A NOTES : IRCD protocol clean up, and support for Numerics on Unreal32/RageIRCD
git-svn-id: svn://svn.anope.org/anope/trunk@368 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@239 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/botserv.c')
-rw-r--r--src/botserv.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/botserv.c b/src/botserv.c
index 7665c6c6e..e9264dde7 100644
--- a/src/botserv.c
+++ b/src/botserv.c
@@ -456,7 +456,7 @@ void botchanmsgs(User * u, ChannelInfo * ci, char *buf)
if (cmd) {
if (!stricmp(cmd, "!deowner") && ircd->owner) {
if (is_founder(u, ci))
- bot_raw_mode(u, ci, "-q", u->nick);
+ bot_raw_mode(u, ci, ircd->ownerunset, u->nick);
} else if (!stricmp(cmd, "!kb")) {
char *target = strtok(NULL, " ");
char *reason = strtok(NULL, "");
@@ -489,7 +489,7 @@ void botchanmsgs(User * u, ChannelInfo * ci, char *buf)
}
} else if (!stricmp(cmd, "!owner") && ircd->owner) {
if (is_founder(u, ci))
- bot_raw_mode(u, ci, "+q", u->nick);
+ bot_raw_mode(u, ci, ircd->ownerset, u->nick);
} else if (!stricmp(cmd, "!seen")) {
char *target = strtok(NULL, " ");
char buf[BUFSIZE];