Third time's the charm, apparently. Being sleepy and committing is a bad combo.
This commit is contained in:
parent
f865a3619d
commit
870b1b4694
|
@ -69,7 +69,7 @@ mo_okick(struct Client *client_p, struct Client *source_p, int parc, const char
|
||||||
char *p = NULL;
|
char *p = NULL;
|
||||||
char *user;
|
char *user;
|
||||||
static char buf[BUFSIZE];
|
static char buf[BUFSIZE];
|
||||||
char *text;
|
char *text = rb_strdup("");
|
||||||
|
|
||||||
if(*parv[2] == '\0')
|
if(*parv[2] == '\0')
|
||||||
{
|
{
|
||||||
|
@ -138,7 +138,7 @@ mo_okick(struct Client *client_p, struct Client *source_p, int parc, const char
|
||||||
":%s KICK %s %s :%s", me.id, chptr->chname, who->id, comment);
|
":%s KICK %s %s :%s", me.id, chptr->chname, who->id, comment);
|
||||||
remove_user_from_channel(msptr);
|
remove_user_from_channel(msptr);
|
||||||
|
|
||||||
rb_sprintf(text, "K%s",who->name);
|
rb_sprintf(text, "K%s", target_p->name);
|
||||||
|
|
||||||
/* we don't need to track NOREJOIN stuff unless it's our client being kicked */
|
/* we don't need to track NOREJOIN stuff unless it's our client being kicked */
|
||||||
if(MyClient(target_p) && chptr->mode.mode & MODE_NOREJOIN)
|
if(MyClient(target_p) && chptr->mode.mode & MODE_NOREJOIN)
|
||||||
|
|
Loading…
Reference in New Issue