diff options
| author | Wilmer van der Gaast <wilmer@gaast.net> | 2007-12-12 23:30:51 +0000 | 
|---|---|---|
| committer | Wilmer van der Gaast <wilmer@gaast.net> | 2007-12-12 23:30:51 +0000 | 
| commit | 30ce1ced040c44c528d0a6e6e9c6b10a1caf1052 (patch) | |
| tree | d2dd16bb5c39da490ea4f2895516e72c115a343e /root_commands.c | |
| parent | d52111a7b05657e4a4fa8417e6655389a50769cf (diff) | |
Killed the <server> parameter to "account add" and changed the default
server for OSCAR to what both login.icq.com and login.oscar.aol.com resolve
to these days. There's no need to specify a server anymore so why bother.
And cleaned up the docs (removed all references to those OSCAR servers).
Diffstat (limited to 'root_commands.c')
| -rw-r--r-- | root_commands.c | 8 | 
1 files changed, 6 insertions, 2 deletions
| diff --git a/root_commands.c b/root_commands.c index 2a5938e7..dc70feb4 100644 --- a/root_commands.c +++ b/root_commands.c @@ -198,7 +198,7 @@ static void cmd_drop( irc_t *irc, char **cmd )  		irc_usermsg( irc, "Account `%s' removed", irc->nick );  		break;  	default: -		irc_usermsg( irc, "Error: '%d'", status ); +		irc_usermsg( irc, "Error: `%d'", status );  		break;  	}  } @@ -233,7 +233,11 @@ static void cmd_account( irc_t *irc, char **cmd )  		a = account_add( irc, prpl, cmd[3], cmd[4] );  		if( cmd[5] ) +		{ +			irc_usermsg( irc, "Warning: Passing a servername/other flags to `account add' " +			                  "is now deprecated. Use `account set' instead." );  			set_setstr( &a->set, "server", cmd[5] ); +		}  		irc_usermsg( irc, "Account successfully added" );  	} @@ -316,7 +320,7 @@ static void cmd_account( irc_t *irc, char **cmd )  			}   			else  			{ -				irc_usermsg( irc, "No accounts known. Use 'account add' to add one." ); +				irc_usermsg( irc, "No accounts known. Use `account add' to add one." );  			}  		}  	} | 
