mirror of
https://github.com/weechat/weechat.git
synced 2026-07-10 05:05:41 +02:00
Fixed data input in channel buffers (IRC plugin)
This commit is contained in:
@@ -34,6 +34,7 @@ irc_la_SOURCES = irc.c \
|
||||
irc-config.h \
|
||||
irc-display.c \
|
||||
irc-display.h \
|
||||
irc-input.c \
|
||||
irc-mode.c \
|
||||
irc-mode.h \
|
||||
irc-nick.c \
|
||||
@@ -47,7 +48,6 @@ irc_la_SOURCES = irc.c \
|
||||
# irc-buffer.h \
|
||||
# irc-dcc.c \
|
||||
# irc-dcc.h \
|
||||
# irc-input.c \
|
||||
# irc-log.c
|
||||
|
||||
irc_la_LDFLAGS = -module
|
||||
|
||||
@@ -33,6 +33,7 @@
|
||||
#include "irc-dcc.h"
|
||||
#include "irc-nick.h"
|
||||
#include "irc-server.h"
|
||||
#include "irc-input.h"
|
||||
|
||||
|
||||
/*
|
||||
@@ -57,7 +58,8 @@ irc_channel_new (struct t_irc_server *server, int channel_type,
|
||||
}
|
||||
|
||||
/* create buffer for channel */
|
||||
new_buffer = weechat_buffer_new (server->name, channel_name, NULL);
|
||||
new_buffer = weechat_buffer_new (server->name, channel_name,
|
||||
&irc_input_data);
|
||||
if (!new_buffer)
|
||||
{
|
||||
free (new_channel);
|
||||
|
||||
+59
-63
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,25 @@
|
||||
/*
|
||||
* Copyright (c) 2003-2008 by FlashCode <flashcode@flashtux.org>
|
||||
* See README for License detail, AUTHORS for developers list.
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation; either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
|
||||
#ifndef __WEECHAT_IRC_INPUT_H
|
||||
#define __WEECHAT_IRC_INPUT_H 1
|
||||
|
||||
extern void irc_input_data (struct t_gui_buffer *buffer, char *data);
|
||||
|
||||
#endif /* irc-input.h */
|
||||
Reference in New Issue
Block a user