|
|
@@ -1481,6 +1481,17 @@ check_expired_chanstuff(struct chanset_t *chan)
|
|
|
continue;
|
|
|
}
|
|
|
|
|
|
+ //This bot is set +r, so resolve.
|
|
|
+ if (!m->userip[0] && doresolv(chan)) {
|
|
|
+ char host[UHOSTLEN] = "", *p = NULL;
|
|
|
+ p = strchr(m->userhost, '@');
|
|
|
+ if (p) {
|
|
|
+ ++p;
|
|
|
+ strlcpy(host, p, strlen(m->userhost) - (p - host));
|
|
|
+ resolve_to_member(chan, m->nick, host);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
if (me_op(chan)) {
|
|
|
if (dovoice(chan) && !loading) { /* autovoice of +v users if bot is +y */
|
|
|
if (!chan_hasop(m) && !chan_hasvoice(m)) {
|