| 38 |
|
#include "s_user.h" |
| 39 |
|
#include "hash.h" |
| 40 |
|
#include "userhost.h" |
| 41 |
+ |
#include "channel_mode.h" |
| 42 |
|
|
| 43 |
|
|
| 44 |
|
static void |
| 97 |
|
target_p->host); |
| 98 |
|
} |
| 99 |
|
|
| 100 |
< |
if (MyConnect(target_p) && IsClient(source_p)) |
| 101 |
< |
sendto_one(target_p, ":%s NOTICE %s :You are now %s@%s", |
| 102 |
< |
me.name, target_p->name, target_p->username, target_p->host); |
| 100 |
> |
if (MyClient(target_p)) |
| 101 |
> |
{ |
| 102 |
> |
if (IsClient(source_p)) |
| 103 |
> |
sendto_one(target_p, ":%s NOTICE %s :You are now %s@%s", |
| 104 |
> |
me.name, target_p->name, target_p->username, target_p->host); |
| 105 |
> |
|
| 106 |
> |
clear_ban_cache_client(target_p); |
| 107 |
> |
} |
| 108 |
|
} |
| 109 |
|
|
| 110 |
|
static void |
| 164 |
|
target_p->host); |
| 165 |
|
} |
| 166 |
|
|
| 167 |
< |
if (MyConnect(target_p) && IsClient(source_p)) |
| 168 |
< |
sendto_one(target_p, ":%s NOTICE %s :You are now %s@%s", |
| 169 |
< |
me.name, target_p->name, target_p->username, target_p->host); |
| 167 |
> |
if (MyClient(target_p)) |
| 168 |
> |
{ |
| 169 |
> |
if (IsClient(source_p)) |
| 170 |
> |
sendto_one(target_p, ":%s NOTICE %s :You are now %s@%s", |
| 171 |
> |
me.name, target_p->name, target_p->username, target_p->host); |
| 172 |
> |
clear_ban_cache_client(target_p); |
| 173 |
> |
} |
| 174 |
|
} |
| 175 |
|
|
| 176 |
|
static void |