diff options
| author | Adam- <Adam-@5417fbe8-f217-4b02-8779-1006273d7864> | 2009-12-16 02:25:38 +0000 |
|---|---|---|
| committer | Adam- <Adam-@5417fbe8-f217-4b02-8779-1006273d7864> | 2009-12-16 02:25:38 +0000 |
| commit | c6e3324b302aa9ef4cf6bdf002719d8bf2908a0b (patch) | |
| tree | aabd05d10c6252151fb452b0db428dd985d5a884 /src/actions.c | |
| parent | 98aa38d800a85e4cd295f435424524bbf2f0a3b1 (diff) | |
Made many of the functions in IRCDProto accept the relative object pointers instea of char* everywhere, and updated TODO
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2706 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/actions.c')
| -rw-r--r-- | src/actions.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/actions.c b/src/actions.c index 37bf95798..76ddb435b 100644 --- a/src/actions.c +++ b/src/actions.c @@ -65,7 +65,7 @@ void kill_user(const char *source, const char *user, const char *reason) snprintf(buf, sizeof(buf), "%s (%s)", source, reason); - ircdproto->SendSVSKill(source, user, buf); + ircdproto->SendSVSKill(findbot(source), finduser(user), buf); if (!ircd->quitonkill && finduser(user)) { do_kill(user, buf); @@ -106,8 +106,7 @@ void sqline(char *mask, char *reason) av[0] = c->name; av[1] = cu->user->nick; av[2] = reason; - ircdproto->SendKick(findbot(Config.s_OperServ), av[0], av[1], - "Q-Lined: %s", av[2]); + ircdproto->SendKick(findbot(Config.s_OperServ), c, cu->user, "Q-Lined: %s", av[2]); do_kick(Config.s_ChanServ, 3, av); } } @@ -161,7 +160,7 @@ void common_unban(ChannelInfo * ci, char *nick) ip = str_is_ip(host); if (ircd->svsmode_unban) - ircdproto->SendBanDel(ci->name, nick); + ircdproto->SendBanDel(ci->c, nick); else { for (ban = ci->c->bans->entries; ban; ban = next) |
