/[svn]/hopm/trunk/src/irc.c
ViewVC logotype

Diff of /hopm/trunk/src/irc.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 9516 by michael, Sat Jul 11 18:56:19 2020 UTC revision 9517 by michael, Sat Jul 11 20:28:46 2020 UTC
# Line 120  m_perform(char *parv[], unsigned int par Line 120  m_perform(char *parv[], unsigned int par
120  {  {
121    node_t *node;    node_t *node;
122    
123    log_printf("IRC -> Connected to %s/%d", IRCItem.server, IRCItem.port);    log_printf("IRC -> Connected to %s[%s]:%i", IRC_SVR_STR, IRCItem.server, IRCItem.port);
124    
125    /* Identify to nickserv if needed */    /* Identify to nickserv if needed */
126    if (!EmptyString(IRCItem.nickserv))    if (!EmptyString(IRCItem.nickserv))
127      irc_send("%s", IRCItem.nickserv);      irc_send("%s", IRCItem.nickserv);
128    
129    /* Oper */    /* Oper */
130    irc_send("OPER %s", IRCItem.oper);    if (!EmptyString(IRCItem.oper))
131        irc_send("OPER %s", IRCItem.oper);
132    
133    /* Set modes */    /* Set modes */
134    irc_send("MODE %s %s", IRCItem.nick, IRCItem.mode);    if (!EmptyString(IRCItem.mode))
135        irc_send("MODE %s %s", IRCItem.nick, IRCItem.mode);
136    
137    /* Set Away */    /* Set Away */
138    if (!EmptyString(IRCItem.away))    if (!EmptyString(IRCItem.away))

Legend:
Removed from v.9516  
changed lines
  Added in v.9517

svnadmin@ircd-hybrid.org
ViewVC Help
Powered by ViewVC 1.1.28