]> jfr.im git - irc/quakenet/newserv.git/commit
Some more tidying of authtracker and related things.
authorsplidge <redacted>
Fri, 7 Mar 2008 10:13:09 +0000 (10:13 +0000)
committersplidge <redacted>
Fri, 7 Mar 2008 10:13:09 +0000 (10:13 +0000)
commit6e3ceea8cbecdf69f8a9f391cabbfafe5e7cffb9
tree6786307c4a5ea82b6e8f62de0578750837643627
parent8700e0203b2ae64e5072e2bdc8106ce55ae2cc78
Some more tidying of authtracker and related things.

Authtracker used to have 2 ways of getting userID - either from np->auth or via the chanserv macro.  These now actually do the same thing so aren't both needed any more.
Also removed the HOOK_CHANSERV_SETUSERID hook as this is now redundant - the userid is always set at ACCOUNT time (for local or remote auths) - we ignore remote ACs without userID set now.
Also a slight tidy of the condition for autocreating auths - we just look for the chanserv extension attached to the user rather than looking up the account name.
chanserv/authtracker/authtracker_hooks.c
chanserv/chanservuser.c
core/hooks.h