1.1 --- a/parseline.c Wed Nov 15 18:28:00 2006 +0000
1.2 +++ b/parseline.c Sun Mar 04 13:25:00 2007 +0000
1.3 @@ -141,6 +141,14 @@
1.4 UserNickCreation(numeric, nick, isoper);
1.5
1.6 if (account != NULL) {
1.7 + char *accountts;
1.8 + if((accountts=strchr(account,':'))){
1.9 + char *accountid;
1.10 + *accountts++='\0';
1.11 + if((accountid=strchr(accountts,':'))){
1.12 + *accountid++='\0';
1.13 + }
1.14 + }
1.15 /* Account was authed: so call the auth routine now... */
1.16 AuthUser(numeric, account);
1.17 }
1.18 @@ -158,12 +166,19 @@
1.19 /* Auth the user */
1.20 /* AD AC [hAAA splidge */
1.21
1.22 - char *numeric, *account;
1.23 + char *numeric, *account, *accountts, *accountid;
1.24
1.25 numeric = tail;
1.26 account = SeperateWord(tail);
1.27 tail = SeperateWord(tail);
1.28
1.29 + if((accountts=strchr(account,' '))){
1.30 + *accountts++='\0';
1.31 + if((accountid=strchr(accountts,' '))){
1.32 + *accountid++='\0';
1.33 + }
1.34 + }
1.35 +
1.36 AuthUser(numeric, account);
1.37 } else if (command[0] == 'Q' && command[1] == '\0') {
1.38 /* Quit command recieved. */