Changeset d5bd9c0


Ignore:
Timestamp:
2008-02-28T22:39:37Z (17 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
7bb3afb
Parents:
9186d15
Message:

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.

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • doc/user-guide/commands.xml

    r9186d15 rd5bd9c0  
    843843
    844844                <ircexample>
    845                         <ircline nick="wouter">nick 1 "Wouter Paesen"</ircline>
    846                         <ircline nick="root">Setting your name on connection 1 to `Wouter Paesen'</ircline>
     845                        <ircline nick="wouter">account set 1/display_name "The majestik møøse"</ircline>
     846                        <ircline nick="root">display_name = `The majestik møøse'</ircline>
    847847                </ircexample>
    848848
  • root_commands.c

    r9186d15 rd5bd9c0  
    769769                else
    770770                        irc_usermsg( irc, "%s is empty", set_name );
     771
     772                if( strchr( set_name, '/' ) )
     773                        irc_usermsg( irc, "Warning: / found in setting name, you're probably looking for the `account set' command." );
    771774        }
    772775        else
Note: See TracChangeset for help on using the changeset viewer.