Send automated messages to TagStatus with UICold
parent
7965214d28
commit
99c8a9fec0
2
handle.c
2
handle.c
|
@ -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
2
irc.c
|
@ -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 = {
|
||||||
|
|
Loading…
Reference in New Issue