summaryrefslogtreecommitdiff
path: root/modules/commands/os_kick.cpp
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2012-11-22 00:50:33 -0500
committerAdam <Adam@anope.org>2012-11-22 00:50:33 -0500
commitd33a0f75a5c0c584fbb7cc0076da36d494f39494 (patch)
tree7b2274cc833c793c0f5595660cbd4d715de52ffd /modules/commands/os_kick.cpp
parent368d469631763e9c8bf399980d0ac7c5b5664d39 (diff)
Pretty large coding style cleanup, in source doc
cleanup, and allow protocol mods to depend on each other
Diffstat (limited to 'modules/commands/os_kick.cpp')
-rw-r--r--modules/commands/os_kick.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/commands/os_kick.cpp b/modules/commands/os_kick.cpp
index 0a5165621..5f33a4bbc 100644
--- a/modules/commands/os_kick.cpp
+++ b/modules/commands/os_kick.cpp
@@ -30,7 +30,7 @@ class CommandOSKick : public Command
Channel *c;
User *u2;
- if (!(c = findchan(chan)))
+ if (!(c = Channel::Find(chan)))
{
source.Reply(CHAN_X_NOT_IN_USE, chan.c_str());
return;
@@ -40,7 +40,7 @@ class CommandOSKick : public Command
source.Reply(_("Services is unable to change modes. Are your servers' U:lines configured correctly?"));
return;
}
- else if (!(u2 = finduser(nick)))
+ else if (!(u2 = User::Find(nick, true)))
{
source.Reply(NICK_X_NOT_IN_USE, nick.c_str());
return;