#24 OnAddServer, OnDelServer Module Hooks

closed
nobody
None
5
2011-02-15
2010-06-19
Anonymous
No

Adds OnAddServer and OnDelServer Module Hooks.

Would be useful for a module to modify a server as it's added or prevent it from being added or deleted.

http://sprunge.us/CJhD?diff

Discussion

  • Nobody/Anonymous

    09:34:19 <@ psychon> the indentation looks weird Oo
    09:34:50 <@ psychon> and in DelServer(): Can't one wait until the specific server is
    found?
    09:34:53 <@ psychon> also, memleak?
    09:35:15 <@ psychon> and worst of all, there are two spaces between "=" and "new" :P
    09:36:11 <@ psychon> BrianC: also, once/if flakes reverts my no-fake-modules commits, no
    module hooks will be called for the temporary user used by webadmin
    09:36:40 <@ psychon> oh, but CUser::Clone() will cause module hooks

     
  • Psychon

    Psychon - 2011-02-15

    Submitter seems to have vanished

     
  • Psychon

    Psychon - 2011-02-15
    • status: open --> closed
     

Log in to post a comment.