1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-27 05:16:38 +02:00

Added plugin prefix ("=P=") in front of scripts messages

This commit is contained in:
Sebastien Helleu
2003-11-29 10:37:37 +00:00
parent 4f23a3c621
commit 507a5c17c0
8 changed files with 56 additions and 0 deletions
+4
View File
@@ -30,6 +30,7 @@
#include <string.h>
#include "../common/weechat.h"
#include "plugins.h"
#include "../irc/irc.h"
#include "../gui/gui.h"
#ifdef PLUGIN_PERL
@@ -129,9 +130,12 @@ plugin_handler_add (t_plugin_handler **plugin_handlers,
*last_plugin_handler = new_plugin_handler;
}
else
{
irc_display_prefix (NULL, PREFIX_ERROR);
gui_printf (NULL,
_("%s unable to add handler for \"%s\" message (not enough memory)\n"),
WEECHAT_ERROR, name);
}
}
/*