summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmanuele Giaquinta <exg@irssi.org>2008-05-23 10:05:44 +0000
committerexg <exg@dbcabf3a-b0e7-0310-adc4-f8d773084564>2008-05-23 10:05:44 +0000
commit82d679730682324712848010e7f21efbc7e6c888 (patch)
treecf4dfb8440cc66b696d030876bb5d17b271dcc3d
parent3236daa97a342903ba988d9395e7fe8222d41e12 (diff)
downloadirssi-82d679730682324712848010e7f21efbc7e6c888.zip
Reindent.
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4846 dbcabf3a-b0e7-0310-adc4-f8d773084564
-rw-r--r--src/irc/core/irc.c24
1 files changed, 12 insertions, 12 deletions
diff --git a/src/irc/core/irc.c b/src/irc/core/irc.c
index 8ec7c4af..a607848f 100644
--- a/src/irc/core/irc.c
+++ b/src/irc/core/irc.c
@@ -88,18 +88,18 @@ void irc_send_cmd_full(IRC_SERVER_REC *server, const char *cmd,
irc_server_send_data(server, cmd, len);
} else {
- /* add to queue */
- if (immediate) {
- server->cmdqueue = g_slist_prepend(server->cmdqueue,
- server->redirect_next);
- server->cmdqueue = g_slist_prepend(server->cmdqueue,
- g_strdup(cmd));
- } else {
- server->cmdqueue = g_slist_append(server->cmdqueue,
- g_strdup(cmd));
- server->cmdqueue = g_slist_append(server->cmdqueue,
- server->redirect_next);
- }
+ /* add to queue */
+ if (immediate) {
+ server->cmdqueue = g_slist_prepend(server->cmdqueue,
+ server->redirect_next);
+ server->cmdqueue = g_slist_prepend(server->cmdqueue,
+ g_strdup(cmd));
+ } else {
+ server->cmdqueue = g_slist_append(server->cmdqueue,
+ g_strdup(cmd));
+ server->cmdqueue = g_slist_append(server->cmdqueue,
+ server->redirect_next);
+ }
}
server->redirect_next = NULL;
g_free(params);