From d222436f5904f8d3716860e173db8351e200a8f3 Mon Sep 17 00:00:00 2001 From: brain Date: Wed, 27 Sep 2006 08:07:29 +0000 Subject: Tidyups git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5350 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/channels.cpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'src') 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); -- cgit v1.2.3