virtual void On005Numeric(std::string &output)
{
- output.insert(output.find(" ", output.find("CHANMODES=", 0)), "z");
+ InsertMode(output, "z", 4);
}
virtual int OnUserPreJoin(userrec* user, chanrec* chan, const char* cname)
{
- if(chan && chan->IsCustomModeSet('z'))
+ if(chan && chan->IsModeSet('z'))
{
if(user->GetExt("ssl"))
{