X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?p=ngircd-alex.git;a=blobdiff_plain;f=src%2Fngircd%2Firc-channel.c;h=4eee5046763d95ad96e354224e87cb6af07885a4;hp=0421d9170201b9d7d81f26d6b61feea4ee584c2d;hb=259c314d142abd6f9295047c116235cfdd119563;hpb=48ea69d778279e7256a167e6f4147eb5766bbdda diff --git a/src/ngircd/irc-channel.c b/src/ngircd/irc-channel.c index 0421d917..4eee5046 100644 --- a/src/ngircd/irc-channel.c +++ b/src/ngircd/irc-channel.c @@ -16,7 +16,6 @@ * IRC channel commands */ -#include "imp.h" #include #include #include @@ -37,7 +36,6 @@ #include "irc-write.h" #include "conf.h" -#include "exp.h" #include "irc-channel.h" /** @@ -480,8 +478,6 @@ IRC_TOPIC( CLIENT *Client, REQUEST *Req ) assert( Client != NULL ); assert( Req != NULL ); - IRC_SetPenalty(Client, 1); - _IRC_GET_SENDER_OR_RETURN_(from, Req, Client) chan = Channel_Search(Req->argv[0]); @@ -578,8 +574,6 @@ IRC_LIST( CLIENT *Client, REQUEST *Req ) assert(Client != NULL); assert(Req != NULL); - IRC_SetPenalty(Client, 2); - _IRC_GET_SENDER_OR_RETURN_(from, Req, Client) if (Req->argc > 0)