Remove unnecessary cast ;p

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4575 e03df62e-2008-0410-955e-edbf42e46eb7
This commit is contained in:
om 2006-07-28 12:36:37 +00:00
parent c4f036dd5d
commit 96fbde1268

View File

@ -69,7 +69,7 @@ int common_channels(userrec *u, userrec *u2)
for (std::vector<ucrec*>::const_iterator i = u->chans.begin(); i != u->chans.end(); i++)
{
/* Fetch the channel from the user */
ucrec* user_channel = (ucrec*)(*i);
ucrec* user_channel = *i;
if (user_channel->channel)
{