summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-02-25 16:09:20 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-02-25 16:09:20 +0000
commit786f3135328228fee87d4557a29045823c15eec5 (patch)
tree8704d6b81af4cdcc846471ec03930ab537724609 /src
parent1d91a9845b85cbb9604c3509b535f72bd6be0516 (diff)
Typo found by gcc 4 warnings
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3325 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src')
-rw-r--r--src/channels.cpp2
1 files changed, 1 insertions, 1 deletions
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;
}
}