aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--doc/user-guide/commands.xml4
-rw-r--r--root_commands.c3
2 files changed, 5 insertions, 2 deletions
diff --git a/doc/user-guide/commands.xml b/doc/user-guide/commands.xml
index 5a1e398c..3402cfd7 100644
--- a/doc/user-guide/commands.xml
+++ b/doc/user-guide/commands.xml
@@ -842,8 +842,8 @@
</description>
<ircexample>
- <ircline nick="wouter">nick 1 "Wouter Paesen"</ircline>
- <ircline nick="root">Setting your name on connection 1 to `Wouter Paesen'</ircline>
+ <ircline nick="wouter">account set 1/display_name "The majestik møøse"</ircline>
+ <ircline nick="root">display_name = `The majestik møøse'</ircline>
</ircexample>
</bitlbee-command>
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
{