git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9528
e03df62e-2008-0410-955e-
edbf42e46eb7
virtual int OnUserPreJoin(User* user, Channel* chan, const char* cname, std::string &privs, const std::string &keygiven)
{
virtual int OnUserPreJoin(User* user, Channel* chan, const char* cname, std::string &privs, const std::string &keygiven)
{
- /*
- * XXX: this is potentially prone to desyncs (though unlikely).
- * Really, now we have a protocol interface, we should only do
- * this for *local* users and just broadcast out a SNONOTICE if
- * an override is perpetrated. -- w00t
- */
- if (IS_OPER(user))
+ if (IS_LOCAL(user) && IS_OPER(user))