Allow NickServ to learn hostmasks automatically.
authorMichael Poole <mdpoole@troilus.org>
Sat, 23 Dec 2006 05:31:56 +0000 (05:31 +0000)
committerMichael Poole <mdpoole@troilus.org>
Sat, 23 Dec 2006 05:31:56 +0000 (05:31 +0000)
commitff76f538c1d9e6977a6095159079357311fe5ef9
tree6436fbd019b125eb87f162a53246262c0a92f92f
parent2851cb54bcad7f15f48825b9c244fc6db842a42f
Allow NickServ to learn hostmasks automatically.

src/nickserv.c (nickserv_addmask): Declare early.
  (cmd_oregister): Allow oper to omit fourth parameter, to set no
    hostmask.
  (cmd_auth): On success, add user's hostmask if the account's hostmask
    list is empty.
  (cmd_cookie): Append hostmask to account on successful allowauth.
  (init_nickserv): Update merge command access.
git-archimport-id: srvx@srvx.net--2006/srvx--devo--1.3--patch-72
ChangeLog
src/nickserv.c