diff options
Diffstat (limited to 'vchat-commands.c')
| -rwxr-xr-x | vchat-commands.c | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/vchat-commands.c b/vchat-commands.c index dc46b9c..1b69a94 100755 --- a/vchat-commands.c +++ b/vchat-commands.c | |||
| @@ -141,7 +141,7 @@ translatecommand( char **cmd) | |||
| 141 | 141 | ||
| 142 | /* handle thought */ | 142 | /* handle thought */ |
| 143 | static void | 143 | static void |
| 144 | dothink( char *tail, char nice ) | 144 | dothink(const char *tail, const char nice ) |
| 145 | { | 145 | { |
| 146 | while( *tail == ' ' ) tail++; | 146 | while( *tail == ' ' ) tail++; |
| 147 | 147 | ||
| @@ -157,7 +157,7 @@ dothink( char *tail, char nice ) | |||
| 157 | 157 | ||
| 158 | /* handle action */ | 158 | /* handle action */ |
| 159 | static void | 159 | static void |
| 160 | doaction( char *tail ) | 160 | doaction(const char *tail ) |
| 161 | { | 161 | { |
| 162 | while( *tail == ' ' ) tail++; | 162 | while( *tail == ' ' ) tail++; |
| 163 | 163 | ||
| @@ -177,7 +177,7 @@ doaction( char *tail ) | |||
| 177 | 177 | ||
| 178 | /* handle private message outgoing */ | 178 | /* handle private message outgoing */ |
| 179 | static void | 179 | static void |
| 180 | privatemessagetx ( char *tail ) { | 180 | privatemessagetx (char *tail ) { |
| 181 | char *mesg; | 181 | char *mesg; |
| 182 | 182 | ||
| 183 | /* find nick */ | 183 | /* find nick */ |
| @@ -406,6 +406,7 @@ command_rmflt (char *tail) { | |||
| 406 | /* list filters */ | 406 | /* list filters */ |
| 407 | static void | 407 | static void |
| 408 | command_lsflt (char *tail) { | 408 | command_lsflt (char *tail) { |
| 409 | (void)tail; | ||
| 409 | listfilters(); | 410 | listfilters(); |
| 410 | } | 411 | } |
| 411 | 412 | ||
| @@ -413,13 +414,14 @@ command_lsflt (char *tail) { | |||
| 413 | static void | 414 | static void |
| 414 | command_action(char *tail) | 415 | command_action(char *tail) |
| 415 | { | 416 | { |
| 416 | doaction( tail); | 417 | doaction(tail); |
| 417 | } | 418 | } |
| 418 | 419 | ||
| 419 | /* handle a "/reconnect" request */ | 420 | /* handle a "/reconnect" request */ |
| 420 | static void | 421 | static void |
| 421 | command_reconnect(char *tail) | 422 | command_reconnect(char *tail) |
| 422 | { | 423 | { |
| 424 | (void)tail; | ||
| 423 | status = 0; | 425 | status = 0; |
| 424 | wantreconnect = 1; | 426 | wantreconnect = 1; |
| 425 | ownquit = 0; | 427 | ownquit = 0; |
| @@ -446,6 +448,7 @@ command_quit(char *tail) | |||
| 446 | void | 448 | void |
| 447 | command_version(char *tail) | 449 | command_version(char *tail) |
| 448 | { | 450 | { |
| 451 | (void)tail; | ||
| 449 | /* output internal versions of all modules */ | 452 | /* output internal versions of all modules */ |
| 450 | flushout(); | 453 | flushout(); |
| 451 | writeout (vchat_cl_version); | 454 | writeout (vchat_cl_version); |
