Changeset 2f13222 for irc_commands.c


Ignore:
Timestamp:
2006-06-25T19:55:18Z (18 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
3f9440d, 471573f
Parents:
9b63df6
Message:

IRC protocol compliance fixes (closes: #158, #159, #160).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • irc_commands.c

    r9b63df6 r2f13222  
    119119                        if( cmd[2] )
    120120                                irc_umode_set( irc, cmd[2], 0 );
     121                        else
     122                                irc_reply( irc, 221, "+%s", irc->umode );
    121123                }
    122124                else
     
    637639                        }
    638640                       
    639                         break;
    640                 }
    641 }
     641                        return;
     642                }
     643       
     644        if( irc->status >= USTATUS_LOGGED_IN )
     645                irc_reply( irc, 421, "%s :Unknown command", cmd[0] );
     646}
Note: See TracChangeset for help on using the changeset viewer.