Typo found by gcc 4 warnings

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3325 e03df62e-2008-0410-955e-edbf42e46eb7
This commit is contained in:
brain 2006-02-25 16:09:20 +00:00
parent 1d91a9845b
commit 786f313532

View File

@ -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;
}
}