diff options
author | Curtis McEnroe | 2018-08-04 17:54:46 -0400 |
---|---|---|
committer | Curtis McEnroe | 2018-08-04 17:54:46 -0400 |
commit | 35589a562473e6eab83933e498fbecf5540431d6 (patch) | |
tree | 014d092b3b19fb17c18a60c71b6829bd8c6184c8 /input.c | |
parent | b163492552c409a7d1f4305dc88b0f279d0e0d91 (diff) |
Rename client to irc
Diffstat (limited to 'input.c')
-rw-r--r-- | input.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/input.c b/input.c index 12f214e..53957ec 100644 --- a/input.c +++ b/input.c @@ -44,7 +44,7 @@ static void privmsg(bool action, const wchar_t *mesg) { (action ? "\1ACTION " : ""), mesg, (action ? "\1" : "") ); if (!line) err(EX_OSERR, "asprintf"); - clientFmt("%s\r\n", &line[send]); + ircFmt("%s\r\n", &line[send]); handle(line); free(line); } @@ -58,7 +58,7 @@ static void inputMe(wchar_t *params) { static void inputNick(wchar_t *params) { wchar_t *nick = wcssep(¶ms, L" "); if (nick) { - clientFmt("NICK %ls\r\n", nick); + ircFmt("NICK %ls\r\n", nick); } else { uiChat("/nick requires a name"); } @@ -66,14 +66,14 @@ static void inputNick(wchar_t *params) { static void inputWho(wchar_t *params) { (void)params; - clientFmt("WHO %s\r\n", chat.chan); + ircFmt("WHO %s\r\n", chat.chan); } static void inputQuit(wchar_t *params) { if (params) { - clientFmt("QUIT :%ls\r\n", params); + ircFmt("QUIT :%ls\r\n", params); } else { - clientFmt("QUIT :Goodbye\r\n"); + ircFmt("QUIT :Goodbye\r\n"); } } |