mirror of
https://github.com/inspircd/inspircd.git
synced 2025-03-10 11:09:04 -04:00
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:
parent
c4f036dd5d
commit
96fbde1268
@ -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)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user