*/
#include "inspircd.h"
-#include "users.h"
-#include "channels.h"
-#include "modules.h"
/* $ModDesc: Restricts banned users in a channel. May not speak, etc. */
if (!IS_LOCAL(user))
return 0;
+ /* Allow changes to UID */
+ if (isdigit(newnick[0]))
+ return 0;
+
/* bit of a special case. */
for (UCListIter i = user->chans.begin(); i != user->chans.end(); i++)
{