Send automated messages to TagStatus with UICold

weechat-hashes
Curtis McEnroe 2018-12-02 22:56:33 -05:00
parent 7965214d28
commit 99c8a9fec0
No known key found for this signature in database
GPG Key ID: CEA2F97ADCFCD77C
2 changed files with 2 additions and 2 deletions

View File

@ -118,7 +118,7 @@ static void handleReplyWelcome(char *prefix, char *params) {
if (self.join) ircFmt("JOIN %s\r\n", self.join); if (self.join) ircFmt("JOIN %s\r\n", self.join);
tabTouch(TagStatus, self.nick); tabTouch(TagStatus, self.nick);
uiLog(TagStatus, UIWarm, L"You have arrived"); uiLog(TagStatus, UICold, L"You have arrived");
} }
static void handleReplyMOTD(char *prefix, char *params) { static void handleReplyMOTD(char *prefix, char *params) {

2
irc.c
View File

@ -63,7 +63,7 @@ int ircConnect(void) {
error = tls_configure(irc.client, irc.config); error = tls_configure(irc.client, irc.config);
if (error) errx(EX_SOFTWARE, "tls_configure: %s", tls_error(irc.client)); if (error) errx(EX_SOFTWARE, "tls_configure: %s", tls_error(irc.client));
uiFmt(TagStatus, UIWarm, "Traveling to %s", irc.host); uiFmt(TagStatus, UICold, "Traveling to %s", irc.host);
struct addrinfo *head; struct addrinfo *head;
struct addrinfo hints = { struct addrinfo hints = {