- return Version(1,0,0,1,VF_STATIC|VF_VENDOR);
- }
-
- virtual int OnExtendedMode(userrec* user, void* target, char modechar, int type, bool mode_on, string_list ¶ms)
- {
- // check if this is our mode character...
- if ((modechar == 'g') && (type == MT_CLIENT))
- {
- // we dont actually do anything with the mode in this module -
- // just tell the core its been claimed and is ok to give users.
- return 1;
- }
- else
- {
- // this mode isn't ours, we have to bail and return 0 to not handle it.
- return 0;
- }
+ return Version(1,0,0,1,VF_VENDOR);