aboutsummaryrefslogtreecommitdiffstats
path: root/root_commands.c
diff options
context:
space:
mode:
authorWilmer van der Gaast <wilmer@gaast.net>2008-02-28 22:39:37 +0000
committerWilmer van der Gaast <wilmer@gaast.net>2008-02-28 22:39:37 +0000
commitd5bd9c078ae2fb4d2e9354e943e06e017e878776 (patch)
tree349938ee063b4b84ed49d2ccfcae76c16024eb1c /root_commands.c
parent9186d15356a46576fb5b306f49a6acdb64fb7622 (diff)
My fix for semi-PEBKAC bug #353: Add a warning if someone seems to be using
the wrong command, and fixing "help nick" example to show how it should be done now.
Diffstat (limited to 'root_commands.c')
-rw-r--r--root_commands.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/root_commands.c b/root_commands.c
index 8e315bd4..2f542826 100644
--- a/root_commands.c
+++ b/root_commands.c
@@ -768,6 +768,9 @@ static void cmd_set( irc_t *irc, char **cmd )
irc_usermsg( irc, "%s = `%s'", set_name, s );
else
irc_usermsg( irc, "%s is empty", set_name );
+
+ if( strchr( set_name, '/' ) )
+ irc_usermsg( irc, "Warning: / found in setting name, you're probably looking for the `account set' command." );
}
else
{