From 786f3135328228fee87d4557a29045823c15eec5 Mon Sep 17 00:00:00 2001 From: brain Date: Sat, 25 Feb 2006 16:09:20 +0000 Subject: Typo found by gcc 4 warnings git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3325 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/channels.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/channels.cpp b/src/channels.cpp index fc6c90b5d..92ad3b78c 100644 --- a/src/channels.cpp +++ b/src/channels.cpp @@ -455,7 +455,7 @@ chanrec* add_channel(userrec *user, const char* cn, const char* key, bool overri { if (user->chans[index].channel == Ptr) { - user->chans[index].channel == NULL; + user->chans[index].channel = NULL; user->chans[index].uc_modes = 0; } } -- cgit v1.2.3