Changeset 8365610


Ignore:
Timestamp:
2006-01-30T16:07:07Z (19 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
34b17d9
Parents:
1053836
Message:

Added a little warning message when people use a wrong set-command syntax.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • root_commands.c

    r1053836 r8365610  
    601601        {
    602602                set_setstr( irc, cmd[1], cmd[2] );
     603               
     604                if( ( strcmp( cmd[2], "=" ) ) == 0 && cmd[3] )
     605                        irc_usermsg( irc, "Warning: Correct syntax: \002set <variable> <value>\002 (without =)" );
    603606        }
    604607        if( cmd[1] ) /* else 'forgotten' on purpose.. Must show new value after changing */
Note: See TracChangeset for help on using the changeset viewer.