diff options
| author | Adam <Adam@anope.org> | 2010-06-27 02:41:48 -0400 |
|---|---|---|
| committer | Adam <Adam@anope.org> | 2010-06-27 02:41:48 -0400 |
| commit | 57caa0b53f53927c72811ffffda8bb527975860f (patch) | |
| tree | 7fef9b12d2d86758acb9198001f88f072e8a31d6 /include/extern.h | |
| parent | d49aee6cf88c79220eb785245257544c8051247f (diff) | |
Made Anope track its own clients internally as if they were real users
Diffstat (limited to 'include/extern.h')
| -rw-r--r-- | include/extern.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/include/extern.h b/include/extern.h index 9e6c94de7..ce73cad17 100644 --- a/include/extern.h +++ b/include/extern.h @@ -53,7 +53,6 @@ E BotInfo *findbot(const ci::string &nick); * @param uid The UID to search for * @return The pseudoclient structure, or NULL if one could not be found */ -E void bot_join(ChannelInfo *ci); E char *normalizeBuffer(const char *); E void bot_raw_ban(User * requester, ChannelInfo *ci, char *nick, const char *reason); @@ -100,7 +99,7 @@ E Entry *elist_match_user(EList *list, User *u); E Entry *elist_find_mask(EList *list, const char *mask); E long get_memuse(EList *list); -#define whosends(ci) ((!(ci) || !((ci)->botflags.HasFlag(BS_SYMBIOSIS)) || !(ci)->bi || !(ci)->c || (ci)->c->users.size() < Config.BSMinUsers) ? findbot(Config.s_ChanServ) : (ci)->bi) +#define whosends(ci) (!(ci) || !((ci)->botflags.HasFlag(BS_SYMBIOSIS)) || !(ci)->bi || !(ci)->c || (ci)->c->FindUser((ci)->bi) ? findbot(Config.s_ChanServ) : (ci)->bi) /**** chanserv.c ****/ |
