summaryrefslogtreecommitdiff
path: root/src/irc/irc-commands.c
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2003-10-26 13:21:07 +0000
committerSebastien Helleu <flashcode@flashtux.org>2003-10-26 13:21:07 +0000
commit65c9a7960342f67bdedac0c47ab20e8de2090d15 (patch)
tree671a85893987cbf634ec7f9bf59a7f7550a4718d /src/irc/irc-commands.c
parentcafd93dcdd0cd5b2cd7be6b58ae04fc188a79410 (diff)
downloadweechat-65c9a7960342f67bdedac0c47ab20e8de2090d15.zip
Added #include "config.h" with #ifdef HAVE_CONFIG_H
Diffstat (limited to 'src/irc/irc-commands.c')
-rw-r--r--src/irc/irc-commands.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/irc/irc-commands.c b/src/irc/irc-commands.c
index ae0854181..2a234871c 100644
--- a/src/irc/irc-commands.c
+++ b/src/irc/irc-commands.c
@@ -19,11 +19,14 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
-
/* irc-commands.c: implementation of IRC commands, according to
RFC 1459,2810,2811,2812 */
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "../common/weechat.h"
#include "irc.h"
#include "../common/command.h"
@@ -157,7 +160,7 @@ t_irc_command irc_commands[] =
{ "privmsg", N_("message received"),
"", "",
0, 0, 1, NULL, NULL, irc_cmd_recv_privmsg },
- { "quit", N_("close all connections & quit " WEECHAT_NAME),
+ { "quit", N_("close all connections & quit " PACKAGE_NAME),
N_("[quit_message]"),
N_("quit_message: quit message (displayed to other users)"),
0, MAX_ARGS, 0, NULL, irc_cmd_send_quit, irc_cmd_recv_quit },