diff options
author | Michael Vetter <jubalh@iodoru.org> | 2020-07-10 15:19:48 +0200 |
---|---|---|
committer | Michael Vetter <jubalh@iodoru.org> | 2020-07-10 15:19:48 +0200 |
commit | 29130e92937f36a26d6c0492e09f20b857c8ac79 (patch) | |
tree | 41e76d841dd5cef2cf15ada11d158ea938c0de40 /src | |
parent | 95ab7ee062b9fbeea73b90f69c6fef3325f880c9 (diff) | |
download | profani-tty-29130e92937f36a26d6c0492e09f20b857c8ac79.tar.gz |
Add forgotten file..
Belongs to 95ab7ee062b9fbeea73b90f69c6fef3325f880c9
Diffstat (limited to 'src')
-rw-r--r-- | src/command/cmd_funcs.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/command/cmd_funcs.c b/src/command/cmd_funcs.c index 5c01cedc..ffc448db 100644 --- a/src/command/cmd_funcs.c +++ b/src/command/cmd_funcs.c @@ -5153,7 +5153,7 @@ cmd_beep(ProfWin* window, const char* const command, gchar** args) gboolean cmd_console(ProfWin* window, const char* const command, gchar** args) { - gboolean isMuc = (g_strcmp0(args[0], "muc") == 0) ; + gboolean isMuc = (g_strcmp0(args[0], "muc") == 0); if ((g_strcmp0(args[0], "chat") != 0) && !isMuc && (g_strcmp0(args[0], "private") != 0)) { cons_bad_cmd_usage(command); @@ -5162,7 +5162,7 @@ cmd_console(ProfWin* window, const char* const command, gchar** args) gchar* setting = args[1]; if ((g_strcmp0(setting, "all") != 0) && (g_strcmp0(setting, "first") != 0) && (g_strcmp0(setting, "none") != 0)) { - if ( !(isMuc && (g_strcmp0(setting, "mention") == 0))) { + if (!(isMuc && (g_strcmp0(setting, "mention") == 0))) { cons_bad_cmd_usage(command); return TRUE; } |