ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/svn/hopm/branches/1.0.x/src/irc.c
(Generate patch)

Comparing hopm/trunk/src/irc.c (file contents):
Revision 5083 by michael, Mon Dec 22 19:42:14 2014 UTC vs.
Revision 5084 by michael, Mon Dec 22 19:57:43 2014 UTC

# Line 795 | Line 795 | static void m_perform(char **parv, unsig
795     node_t *node;
796     struct ChannelConf *channel;
797  
798   USE_VAR(parv);
799   USE_VAR(parc);
800   USE_VAR(msg);
801   USE_VAR(notused);
802
798     log_printf("IRC -> Connected to %s:%d", IRCItem->server, IRCItem->port);
799  
800     /* Identify to nickserv if needed */
# Line 847 | Line 842 | static void m_perform(char **parv, unsig
842   */
843   static void m_ping(char **parv, unsigned int parc, char *msg, struct UserInfo *source_p)
844   {
850   USE_VAR(msg);
851   USE_VAR(source_p);
852
845     if(parc < 3)
846        return;
847  
# Line 877 | Line 869 | static void m_invite(char **parv, unsign
869   {
870     struct ChannelConf *channel;
871    
880   USE_VAR(msg);
881   USE_VAR(source_p);
882
872     if(parc < 4)
873        return;
874  
# Line 960 | Line 949 | static void m_privmsg(char **parv, unsig
949  
950   static void m_ctcp(char **parv, unsigned int parc, char *msg, struct UserInfo *source_p)
951   {
952 <   USE_VAR(parc);
953 <   USE_VAR(msg);
954 <
966 <   if(strncasecmp(parv[3], "\001VERSION\001", 9) == 0)
967 <   {
968 <      irc_send("NOTICE %s :\001VERSION Hybrid Open Proxy Monitor %s\001",
969 <            source_p->irc_nick, VERSION);
970 <   }
952 >  if (strncasecmp(parv[3], "\001VERSION\001", 9) == 0)
953 >    irc_send("NOTICE %s :\001VERSION Hybrid Open Proxy Monitor %s\001",
954 >             source_p->irc_nick, VERSION);
955   }
956  
957  
# Line 1083 | Line 1067 | static void m_notice(char **parv, unsign
1067   static void m_userhost(char **parv, unsigned int parc, char *msg,
1068        struct UserInfo *source_p)
1069   {
1086   USE_VAR(msg);
1087   USE_VAR(source_p);
1088
1070     if(parc < 4)
1071        return;
1072  
# Line 1107 | Line 1088 | static void m_cannot_join(char **parv, u
1088   {
1089     struct ChannelConf *channel;
1090  
1110   USE_VAR(msg);
1111   USE_VAR(source_p);
1112
1091     if(parc < 5)
1092        return;
1093  
# Line 1136 | Line 1114 | static void m_cannot_join(char **parv, u
1114  
1115   static void m_kill(char **parv, unsigned int parc, char *msg, struct UserInfo *source_p)
1116   {
1117 <   USE_VAR(parv);
1118 <   USE_VAR(parc);
1141 <   USE_VAR(msg);
1142 <   USE_VAR(source_p);
1143 <
1144 <   /* Restart hopm to rehash */
1145 <   main_restart();
1117 >  /* Restart hopm to rehash */
1118 >  main_restart();
1119   }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines