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/modules/cs_enforce.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/modules/cs_enforce.c')
-rw-r--r-- | src/modules/cs_enforce.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/cs_enforce.c b/src/modules/cs_enforce.c index d02ddd224..2bf692233 100644 --- a/src/modules/cs_enforce.c +++ b/src/modules/cs_enforce.c @@ -121,7 +121,7 @@ class CommandCSEnforce : public Command get_idealban(ci, u, mask, sizeof(mask)); reason = getstring(u, CHAN_NOT_ALLOWED_TO_JOIN); c->SetMode(NULL, CMODE_BAN, mask); - ircdproto->SendKick(whosends(ci), ci->name, u->nick, "%s", reason); + ircdproto->SendKick(whosends(ci), ci->c, u, "%s", reason); av[0] = ci->name; av[1] = u->nick; av[2] = reason; @@ -162,7 +162,7 @@ class CommandCSEnforce : public Command { c->SetMode(NULL, CMODE_BAN, mask); } - ircdproto->SendKick(whosends(ci), ci->name, u->nick, "%s", reason); + ircdproto->SendKick(whosends(ci), ci->c, u, "%s", reason); av[0] = ci->name; av[1] = u->nick; av[2] = reason; |