}
temp2 = temp2 + temp1 + " ";
}
- output = temp2.substr(0,temp2.length()-1);
+ if (temp2.length())
+ output = temp2.substr(0,temp2.length()-1);
}
+ virtual void OnUserPart(userrec* user, chanrec* channel)
+ {
+ // FIX: when someone parts a channel we must remove their Extensibles!
+ user->Shrink("cm_founder_"+std::string(channel->name));
+ user->Shrink("cm_protect_"+std::string(channel->name));
+ }
+
virtual void OnRehash()
{
// on a rehash we delete our classes for good measure and create them again.
virtual Version GetVersion()
{
- return Version(1,0,0,0);
+ return Version(1,0,0,0,VF_STATIC|VF_VENDOR);
}
virtual string_list OnChannelSync(chanrec* chan)