summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-09-27 08:07:29 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-09-27 08:07:29 +0000
commitd222436f5904f8d3716860e173db8351e200a8f3 (patch)
treec5b414b5173048d9199937fdd9fd5e32e4a71d6a
parent526dfce2251b5cf28e5731c0ee588cc00ed47bb8 (diff)
Tidyups
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5350 e03df62e-2008-0410-955e-edbf42e46eb7
-rw-r--r--src/channels.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/channels.cpp b/src/channels.cpp
index bfd676429..f4a6db2b3 100644
--- a/src/channels.cpp
+++ b/src/channels.cpp
@@ -301,8 +301,6 @@ chanrec* chanrec::JoinUser(InspIRCd* Instance, userrec *user, const char* cn, bo
}
if (Ptr->bans.size())
{
- char mask[MAXBUF];
- snprintf(mask, MAXBUF, "%s!%s@%s",user->nick, user->ident, user->GetIPString());
if (Ptr->IsBanned(user))
{
user->WriteServ("474 %s %s :Cannot join channel (You're banned)",user->nick, Ptr->name);