/dports/irc/ircd-hybrid/ircd-hybrid-8.2.39/modules/ |
H A D | m_whois.c | 83 target_p->username, target_p->host, in whois_person() 133 target_p->servptr->name, target_p->servptr->info); in whois_person() 142 if (target_p->away[0]) in whois_person() 156 if (HasUMode(target_p, UMODE_OPER) || HasFlag(target_p, FLAGS_SERVICE)) in whois_person() 160 if (target_p->svstags.head) in whois_person() 213 target_p->username, target_p->realhost, in whois_person() 223 if (MyConnect(target_p)) in whois_person() 225 source_p == target_p) in whois_person() 230 if (HasUMode(target_p, UMODE_SPY) && source_p != target_p) in whois_person() 246 struct Client *target_p; in do_whois() local [all …]
|
H A D | m_who.c | 77 target_p->username, target_p->host, in do_who() 79 target_p->name, status, in do_who() 80 HasUMode(source_p, UMODE_OPER) ? target_p->hopcount : 0, target_p->info); in do_who() 84 target_p->host, target_p->servptr->name, target_p->name, in do_who() 85 status, target_p->hopcount, target_p->info); in do_who() 100 if (match(mask, target_p->name) == 0) in who_matches() 160 if (!HasUMode(target_p, UMODE_INVISIBLE) || HasFlag(target_p, FLAGS_MARK)) in who_common_channel() 168 AddFlag(target_p, FLAGS_MARK); in who_common_channel() 225 assert(IsClient(target_p)); in who_global() 229 DelFlag(target_p, FLAGS_MARK); in who_global() [all …]
|
H A D | m_svsnick.c | 70 if (target_p == NULL) in ms_svsnick() 79 if (!MyConnect(target_p)) in ms_svsnick() 113 target_p->tsinfo = new_ts; in ms_svsnick() 115 monitor_signoff(target_p); in ms_svsnick() 127 target_p->name, target_p->username, in ms_svsnick() 133 target_p->id, new_nick, target_p->tsinfo); in ms_svsnick() 135 hash_del_client(target_p); in ms_svsnick() 136 strlcpy(target_p->name, new_nick, sizeof(target_p->name)); in ms_svsnick() 137 hash_add_client(target_p); in ms_svsnick() 139 monitor_signon(target_p); in ms_svsnick() [all …]
|
H A D | m_svsmode.c | 67 if (target_p == NULL) in ms_svsmode() 71 if (ts && (ts != target_p->tsinfo)) in ms_svsmode() 90 ClearOper(target_p); in ms_svsmode() 93 if (MyConnect(target_p)) in ms_svsmode() 96 conf_detach(target_p, CONF_OPER); in ms_svsmode() 98 ClrOFlag(target_p); in ms_svsmode() 112 AddUMode(target_p, UMODE_INVISIBLE); in ms_svsmode() 131 AddUMode(target_p, tab->flag); in ms_svsmode() 133 DelUMode(target_p, tab->flag); in ms_svsmode() 142 target_p->id, target_p->tsinfo, modes); in ms_svsmode() [all …]
|
/dports/irc/ircd-ratbox-devel/ircd-ratbox-3.0.7/modules/ |
H A D | m_trace.c | 488 if(target_p) in mo_etrace() 494 get_id(target_p, target_p)); in mo_etrace() 518 if((target_p = find_person(parv[1])) && MyClient(target_p)) in me_etrace() 522 target_p ? target_p->name : parv[1]); in me_etrace() 549 target_p->name, target_p->username, target_p->host, in do_etrace() 588 target_p->name, target_p->username, target_p->host, in do_single_etrace() 595 target_p->name, target_p->username, in do_single_etrace() 596 target_p->host, target_p->sockhost, in do_single_etrace() 597 target_p->localClient->fullcaps, target_p->info); in do_single_etrace() 659 target_p->name, target_p->username, target_p->host, in mo_chantrace() [all …]
|
H A D | m_whois.c | 149 if(!MyClient(target_p) && !IsMe(target_p)) in ms_whois() 152 get_id(source_p, target_p), get_id(target_p, target_p), parv[2]); in ms_whois() 195 if(target_p != NULL) in do_whois() 202 target_p->name, target_p->username, in do_whois() 203 target_p->host, target_p->servptr->name); in do_whois() 244 if(target_p->name) in single_whois() 258 target_p->name, target_p->username, target_p->host, target_p->info); in single_whois() 310 target_p->name, target_p->servptr->name, in single_whois() 315 target_p->name, target_p->user->away); in single_whois() 334 target_p->name, target_p->sockhost); in single_whois() [all …]
|
H A D | m_who.c | 73 struct Client *target_p; in m_who() local 227 if(!IsInvisible(target_p) || IsMarked(target_p)) in who_common_channel() 233 SetMark(target_p); in who_common_channel() 238 match(mask, target_p->name) || match(mask, target_p->username) || in who_common_channel() 239 match(mask, target_p->host) || match(mask, target_p->servptr->name) || in who_common_channel() 290 target_p = ptr->data; in who_global() 296 ClearMark(target_p); in who_global() 306 match(mask, target_p->name) || match(mask, target_p->username) || in who_global() 307 match(mask, target_p->host) || match(mask, target_p->servptr->name) || in who_global() 375 target_p->username, in do_who() [all …]
|
/dports/irc/ircd-ratbox/ircd-ratbox-3.0.10/modules/ |
H A D | m_trace.c | 488 if(target_p) in mo_etrace() 494 get_id(target_p, target_p)); in mo_etrace() 518 if((target_p = find_person(parv[1])) && MyClient(target_p)) in me_etrace() 522 target_p ? target_p->name : parv[1]); in me_etrace() 549 target_p->name, target_p->username, target_p->host, in do_etrace() 588 target_p->name, target_p->username, target_p->host, in do_single_etrace() 595 target_p->name, target_p->username, in do_single_etrace() 596 target_p->host, target_p->sockhost, in do_single_etrace() 597 target_p->localClient->fullcaps, target_p->info); in do_single_etrace() 659 target_p->name, target_p->username, target_p->host, in mo_chantrace() [all …]
|
H A D | m_whois.c | 149 if(!MyClient(target_p) && !IsMe(target_p)) in ms_whois() 152 get_id(source_p, target_p), get_id(target_p, target_p), parv[2]); in ms_whois() 192 if(target_p != NULL) in do_whois() 199 target_p->name, target_p->username, in do_whois() 200 target_p->host, target_p->servptr->name); in do_whois() 241 if(target_p->name) in single_whois() 255 target_p->name, target_p->username, target_p->host, target_p->info); in single_whois() 307 target_p->name, target_p->servptr->name, in single_whois() 312 target_p->name, target_p->user->away); in single_whois() 331 target_p->name, target_p->sockhost); in single_whois() [all …]
|
H A D | m_who.c | 73 struct Client *target_p; in m_who() local 227 if(!IsInvisible(target_p) || IsMarked(target_p)) in who_common_channel() 233 SetMark(target_p); in who_common_channel() 238 match(mask, target_p->name) || match(mask, target_p->username) || in who_common_channel() 239 match(mask, target_p->host) || match(mask, target_p->servptr->name) || in who_common_channel() 290 target_p = ptr->data; in who_global() 296 ClearMark(target_p); in who_global() 306 match(mask, target_p->name) || match(mask, target_p->username) || in who_global() 307 match(mask, target_p->host) || match(mask, target_p->servptr->name) || in who_global() 375 target_p->username, in do_who() [all …]
|
/dports/irc/ircd-hybrid/ircd-hybrid-8.2.39/modules/core/ |
H A D | m_kill.c | 71 if (target_p == NULL) in mo_kill() 79 if (target_p == NULL) in mo_kill() 101 if (IsServer(target_p) || IsMe(target_p)) in mo_kill() 107 if (MyConnect(target_p)) in mo_kill() 118 target_p->name, target_p->username, target_p->host, in mo_kill() 129 if (!MyConnect(target_p)) in mo_kill() 166 if (target_p == NULL) in ms_kill() 175 if (IsServer(target_p) || IsMe(target_p)) in ms_kill() 181 if (MyConnect(target_p)) in ms_kill() 210 target_p->name, target_p->username, target_p->host, in ms_kill() [all …]
|
H A D | m_server.c | 136 target_p->name, target_p->hopcount + 1, in server_send_client() 138 buf, target_p->username, target_p->host, target_p->realhost, in server_send_client() 139 target_p->sockhost, target_p->id, in server_send_client() 140 target_p->account, target_p->info); in server_send_client() 323 if (IsMe(target_p) || target_p->from == client_p) in server_estab() 327 target_p->servptr->id, target_p->name, target_p->hopcount+1, in server_estab() 343 if (IsMe(target_p) || HasFlag(target_p, FLAGS_EOB)) in server_estab() 563 if (target_p && (target_p != source_p)) in mr_server() 664 if (target_p && (target_p != source_p->from)) in ms_sid() 768 dlinkAdd(target_p, &target_p->lnode, &target_p->servptr->serv->server_list); in ms_sid() [all …]
|
H A D | m_squit.c | 58 struct Client *target_p = NULL; in mo_squit() local 70 target_p = tmp; in mo_squit() 76 if (target_p == NULL || IsMe(target_p)) in mo_squit() 98 if (MyConnect(target_p)) in mo_squit() 118 AddFlag(target_p, FLAGS_SQUIT); in mo_squit() 120 exit_client(target_p, comment); in mo_squit() 139 if (target_p == NULL) in ms_squit() 142 if (!IsServer(target_p) && !IsMe(target_p)) in ms_squit() 145 if (IsMe(target_p)) in ms_squit() 146 target_p = source_p->from; in ms_squit() [all …]
|
H A D | m_nick.c | 432 target_p->name, target_p->from->name, in perform_uid_introduction_collides() 467 target_p->name, target_p->from->name, in perform_uid_introduction_collides() 472 target_p->name, target_p->from->name, in perform_uid_introduction_collides() 515 source_p->name, target_p->name, target_p->from->name, in perform_nick_change_collides() 542 source_p->name, target_p->name, target_p->from->name, in perform_nick_change_collides() 547 source_p->name, target_p->name, target_p->from->name, in perform_nick_change_collides() 566 target_p->name, target_p->from->name, in perform_nick_change_collides() 571 target_p->name, target_p->from->name, in perform_nick_change_collides() 629 if (target_p == NULL || target_p == source_p) in mr_nick() 809 if (target_p) in ms_uid() [all …]
|
/dports/irc/ircd-ratbox/ircd-ratbox-3.0.10/modules/core/ |
H A D | m_kill.c | 67 struct Client *target_p; in mo_kill() local 102 if(IsServer(target_p) || IsMe(target_p)) in mo_kill() 114 if(MyConnect(target_p)) in mo_kill() 117 target_p->name, reason); in mo_kill() 127 target_p->name, target_p->username, target_p->host, target_p->servptr->name, reason); in mo_kill() 135 if(!MyConnect(target_p)) in mo_kill() 162 struct Client *target_p; in ms_kill() local 214 if(MyConnect(target_p)) in ms_kill() 241 target_p->name, target_p->username, target_p->host, in ms_kill() 251 source_p->name, target_p->name, target_p->username, in ms_kill() [all …]
|
H A D | m_nick.c | 858 target_p->name, target_p->from->name, in perform_nick_collides() 863 target_p->name, target_p->from->name, in perform_nick_collides() 1001 target_p->name, target_p->from->name, in perform_nickchange_collides() 1006 target_p->name, target_p->from->name, in perform_nickchange_collides() 1174 serv_p = IsServer(target_p) ? target_p : target_p->servptr; in can_save() 1187 if(!MyConnect(target_p) && (!has_id(target_p) || !IsCapable(target_p->from, CAP_SAVE))) in save_user() 1193 target_p->name, target_p->username, target_p->host, in save_user() 1204 source_p->id, target_p->id, target_p->tsinfo); in save_user() 1206 target_p->id, target_p->id, (time_t)SAVE_NICKTS); in save_user() 1216 change_local_nick(target_p, target_p, target_p->id, 0); in save_user() [all …]
|
H A D | m_server.c | 407 rb_dlinkAdd(target_p, &target_p->lnode, &target_p->servptr->serv->servers); in ms_server() 543 add_to_hash(HASH_ID, target_p->id, target_p); in ms_sid() 544 rb_dlinkAdd(target_p, &target_p->lnode, &target_p->servptr->serv->servers); in ms_sid() 549 target_p->id, IsHidden(target_p) ? "(H) " : "", target_p->info); in ms_sid() 560 get_id(&me, target_p), me.name, get_id(target_p, target_p)); in ms_sid() 913 target_p->name, target_p->hopcount + 1, in burst_TS5() 915 target_p->username, target_p->host, in burst_TS5() 1040 target_p->username, target_p->host, in burst_TS6() 1042 target_p->id, target_p->info); in burst_TS6() 1049 target_p->username, target_p->host, in burst_TS6() [all …]
|
/dports/irc/ircd-ratbox-devel/ircd-ratbox-3.0.7/modules/core/ |
H A D | m_kill.c | 67 struct Client *target_p; in mo_kill() local 102 if(IsServer(target_p) || IsMe(target_p)) in mo_kill() 114 if(MyConnect(target_p)) in mo_kill() 117 target_p->name, reason); in mo_kill() 127 target_p->name, target_p->username, target_p->host, target_p->servptr->name, reason); in mo_kill() 135 if(!MyConnect(target_p)) in mo_kill() 162 struct Client *target_p; in ms_kill() local 214 if(MyConnect(target_p)) in ms_kill() 241 target_p->name, target_p->username, target_p->host, in ms_kill() 251 source_p->name, target_p->name, target_p->username, in ms_kill() [all …]
|
H A D | m_nick.c | 858 target_p->name, target_p->from->name, in perform_nick_collides() 863 target_p->name, target_p->from->name, in perform_nick_collides() 1001 target_p->name, target_p->from->name, in perform_nickchange_collides() 1006 target_p->name, target_p->from->name, in perform_nickchange_collides() 1174 serv_p = IsServer(target_p) ? target_p : target_p->servptr; in can_save() 1187 if(!MyConnect(target_p) && (!has_id(target_p) || !IsCapable(target_p->from, CAP_SAVE))) in save_user() 1193 target_p->name, target_p->username, target_p->host, in save_user() 1206 target_p->id, target_p->id, (long)SAVE_NICKTS); in save_user() 1208 target_p->name, target_p->id, (long)SAVE_NICKTS); in save_user() 1216 change_local_nick(target_p, target_p, target_p->id, 0); in save_user() [all …]
|
H A D | m_server.c | 407 rb_dlinkAdd(target_p, &target_p->lnode, &target_p->servptr->serv->servers); in ms_server() 543 add_to_hash(HASH_ID, target_p->id, target_p); in ms_sid() 544 rb_dlinkAdd(target_p, &target_p->lnode, &target_p->servptr->serv->servers); in ms_sid() 549 target_p->id, IsHidden(target_p) ? "(H) " : "", target_p->info); in ms_sid() 560 get_id(&me, target_p), me.name, get_id(target_p, target_p)); in ms_sid() 913 target_p->name, target_p->hopcount + 1, in burst_TS5() 915 target_p->username, target_p->host, in burst_TS5() 1040 target_p->username, target_p->host, in burst_TS6() 1042 target_p->id, target_p->info); in burst_TS6() 1049 target_p->username, target_p->host, in burst_TS6() [all …]
|
H A D | m_squit.c | 56 struct Client *target_p; member 114 struct Client *target_p; in ms_squit() local 118 target_p = client_p; in ms_squit() 124 if(IsMe(target_p)) in ms_squit() 125 target_p = client_p; in ms_squit() 126 if(!IsServer(target_p)) in ms_squit() 131 if(target_p == client_p) in ms_squit() 194 target_p = p; in find_squit() 200 if(target_p == NULL) in find_squit() 203 found_squit.target_p = target_p; in find_squit() [all …]
|
/dports/irc/ircd-ratbox/ircd-ratbox-3.0.10/src/ |
H A D | send.c | 248 target_p = target_p->from; in sendto_one_buffer() 273 target_p = target_p->from; in sendto_one() 324 get_id(source_p, target_p), command, get_id(target_p, target_p)); in sendto_one_prefix() 384 ":%s NOTICE %s ", get_id(&me, target_p), get_id(target_p, target_p)); in sendto_one_notice() 424 get_id(&me, target_p), numeric, get_id(target_p, target_p)); in sendto_one_numeric() 538 if(IsIOError(target_p->from) || target_p->from == one) in sendto_channel_flags() 660 send_linebuf(target_p->from ? target_p->from : target_p, &linebuf); in sendto_common_channels_local() 785 if(IsMe(target_p) || target_p->from == source_p->from) in sendto_match_servs() 879 get_id(source_p, target_p), command, get_id(target_p, target_p)); in sendto_anywhere() 989 get_id(&me, target_p), get_id(diedie, target_p)); in kill_client() [all …]
|
/dports/irc/ircd-ratbox-devel/ircd-ratbox-3.0.7/src/ |
H A D | send.c | 248 target_p = target_p->from; in sendto_one_buffer() 273 target_p = target_p->from; in sendto_one() 324 get_id(source_p, target_p), command, get_id(target_p, target_p)); in sendto_one_prefix() 384 ":%s NOTICE %s ", get_id(&me, target_p), get_id(target_p, target_p)); in sendto_one_notice() 424 get_id(&me, target_p), numeric, get_id(target_p, target_p)); in sendto_one_numeric() 538 if(IsIOError(target_p->from) || target_p->from == one) in sendto_channel_flags() 660 send_linebuf(target_p->from ? target_p->from : target_p, &linebuf); in sendto_common_channels_local() 785 if(IsMe(target_p) || target_p->from == source_p->from) in sendto_match_servs() 879 get_id(source_p, target_p), command, get_id(target_p, target_p)); in sendto_anywhere() 989 get_id(&me, target_p), get_id(diedie, target_p)); in kill_client() [all …]
|
/dports/irc/ircd-ratbox-devel/ircd-ratbox-3.0.7/contrib/ |
H A D | m_force.c | 81 struct Client *target_p; in mo_forcejoin() local 106 if(!IsClient(target_p)) in mo_forcejoin() 133 if(IsMember(target_p, chptr)) in mo_forcejoin() 149 target_p->name, target_p->username, in mo_forcejoin() 150 target_p->host, chptr->chname); in mo_forcejoin() 202 target_p->name, target_p->username, in mo_forcejoin() 227 struct Client *target_p; in mo_forcepart() local 247 if(!IsClient(target_p)) in mo_forcepart() 266 ":%s PART %s :%s", target_p->name, chptr->chname, target_p->name); in mo_forcepart() 269 target_p->name, target_p->username, in mo_forcepart() [all …]
|
/dports/irc/ircd-ratbox/ircd-ratbox-3.0.10/contrib/ |
H A D | m_force.c | 81 struct Client *target_p; in mo_forcejoin() local 106 if(!IsClient(target_p)) in mo_forcejoin() 133 if(IsMember(target_p, chptr)) in mo_forcejoin() 149 target_p->name, target_p->username, in mo_forcejoin() 150 target_p->host, chptr->chname); in mo_forcejoin() 202 target_p->name, target_p->username, in mo_forcejoin() 227 struct Client *target_p; in mo_forcepart() local 247 if(!IsClient(target_p)) in mo_forcepart() 266 ":%s PART %s :%s", target_p->name, chptr->chname, target_p->name); in mo_forcepart() 269 target_p->name, target_p->username, in mo_forcepart() [all …]
|