mirror of
https://github.com/irssi/irssi.git
synced 2026-08-18 08:02:13 +02:00
Moved autoconnects and command line parameter parsing from irc to core.
Added not_initialized parameter to chat protocols that are created using chat_protocol_get_unknown(). /CONNECT doesn't crash now with non-initialized protocols but instead complains about them. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1248 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
42634d83bc
commit
1117638b52
10 changed files with 122 additions and 91 deletions
|
|
@ -202,7 +202,8 @@ CHAT_PROTOCOL_REC *chat_protocol_get_unknown(const char *name)
|
|||
if (rec != NULL)
|
||||
return rec;
|
||||
|
||||
rec = g_new0(CHAT_PROTOCOL_REC, 1);
|
||||
rec = g_new0(CHAT_PROTOCOL_REC, 1);
|
||||
rec->not_initialized = TRUE;
|
||||
rec->name = (char *) name;
|
||||
rec->create_chatnet = create_chatnet;
|
||||
rec->create_server_setup = create_server_setup;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue