summaryrefslogtreecommitdiff
path: root/modules/commands/os_kill.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_kill.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_kill.cpp')
-rw-r--r--modules/commands/os_kill.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/commands/os_kill.cpp b/modules/commands/os_kill.cpp
index e7f78b1b5..83cd81f58 100644
--- a/modules/commands/os_kill.cpp
+++ b/modules/commands/os_kill.cpp
@@ -27,7 +27,7 @@ class CommandOSKill : public Command
const Anope::string &nick = params[0];
Anope::string reason = params.size() > 1 ? params[1] : "";
- User *u2 = finduser(nick);
+ User *u2 = User::Find(nick, true);
if (u2 == NULL)
source.Reply(NICK_X_NOT_IN_USE, nick.c_str());
else if (u2->IsProtected() || u2->server == Me)