Fix MacGyver's rehash woes..

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10687 e03df62e-2008-0410-955e-edbf42e46eb7
This commit is contained in:
w00t 2008-10-22 13:27:37 +00:00
parent 8dc60e3283
commit 3a5f4f6bd2

View File

@ -585,6 +585,11 @@ bool DoneConnect(ServerConfig *conf, const char*)
{
User *u = *n;
/*
* Make their existing class go away so that SetClass doesn't touch a wild ptr, important!
*/
u->MyClass = NULL;
u->SetClass();
/*