summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDukePyrolator <DukePyrolator@anope.org>2013-05-06 07:28:23 +0200
committerDukePyrolator <DukePyrolator@anope.org>2013-05-06 07:28:23 +0200
commit223aa65cfa33be64e7e0b17f5a1b967d0ce0a2e4 (patch)
tree04ef084987857b8f932b6ad84ed2dc0045734522 /src
parentfe54dfb37fa0b56caa7a75035a0e667f7783828f (diff)
removed an unused variable
Diffstat (limited to 'src')
-rw-r--r--src/channels.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/channels.cpp b/src/channels.cpp
index 5001869da..52303fa46 100644
--- a/src/channels.cpp
+++ b/src/channels.cpp
@@ -763,10 +763,6 @@ void Channel::KickInternal(MessageSource &source, const Anope::string &nick, con
return;
}
- BotInfo *bi = NULL;
- if (target->server == Me)
- bi = BotInfo::Find(nick);
-
if (sender)
Log(sender, this, "kick") << "kicked " << target->nick << " (" << reason << ")";
else