1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-08 10:43:13 +02:00

New plugin interface (loads dynamic C libraries)

This commit is contained in:
Sebastien Helleu
2005-10-15 12:34:21 +00:00
parent 5130b1dc4f
commit cdc33d08b0
60 changed files with 13636 additions and 7740 deletions
+6 -1
View File
@@ -179,8 +179,13 @@ irc_recv_command (t_irc_server *server, char *entire_line,
return_code = (int) (irc_commands[i].recv_function) (server, host, nick, arguments);
if (nick)
free (nick);
#ifdef PLUGINS
if (!command_ignored)
plugin_event_msg (irc_commands[i].command_name, server->name, entire_line);
plugin_msg_handler_exec (server->name, irc_commands[i].command_name, entire_line);
#else
/* make gcc happy */
(void) entire_line;
#endif
return return_code;
}