Functions

nickserv.cpp File Reference

#include "services.h"
#include "account.h"
#include "modules.h"
#include "users.h"
#include "protocol.h"
#include "regchannel.h"
Include dependency graph for nickserv.cpp:

Go to the source code of this file.

Functions

NickAliasfindnick (const Anope::string &nick)
NickCorefindcore (const Anope::string &nick)
bool is_on_access (const User *u, const NickCore *nc)
void change_core_display (NickCore *nc, const Anope::string &newdisplay)
void change_core_display (NickCore *nc)

Function Documentation

void change_core_display ( NickCore nc,
const Anope::string newdisplay 
)

Definition at line 76 of file nickserv.cpp.

References NickCore::display, FOREACH_MOD, I_OnChangeCoreDisplay, and NickCoreList.

void change_core_display ( NickCore nc  ) 
NickCore* findcore ( const Anope::string nick  ) 
NickAlias* findnick ( const Anope::string nick  ) 

Definition at line 19 of file nickserv.cpp.

References NickAliasList.

Referenced by ChannelInfo::AccessFor(), User::ChangeNick(), XOPBase::DoAdd(), CommandCSAKick::DoAdd(), CommandCSAccess::DoAdd(), CommandBSBot::DoAdd(), NSCert::DoAutoIdentify(), CommandBSBot::DoChange(), MyXMLRPCEvent::DoCommand(), XOPBase::DoDel(), CommandCSAKick::DoDel(), CommandCSAccess::DoDel(), CommandMSSet::DoLimit(), CommandCSFlags::DoModify(), DoneOpers(), CSStats::DoStats(), CommandOSOper::Execute(), CommandOSForbid::Execute(), CommandNSUpdate::Execute(), CommandNSUnSuspend::Execute(), CommandNSSuspend::Execute(), CommandNSStatus::Execute(), CommandNSSendPass::Execute(), CommandNSSASetNoexpire::Execute(), CommandNSSASetPassword::Execute(), CommandNSResetPass::Execute(), CommandNSRelease::Execute(), CommandNSResend::Execute(), CommandNSRegister::Execute(), CommandNSConfirm::Execute(), CommandNSRecover::Execute(), CommandNSInfo::Execute(), CommandNSIdentify::Execute(), CommandNSGList::Execute(), CommandNSUngroup::Execute(), CommandNSGroup::Execute(), CommandNSGhost::Execute(), CommandNSGetPass::Execute(), CommandNSDrop::Execute(), CommandNSCert::Execute(), CommandNSAList::Execute(), CommandNSAJoin::Execute(), CommandNSAccess::Execute(), CommandMSRSend::Execute(), CommandMSInfo::Execute(), CommandMSCheck::Execute(), CommandMSCancel::Execute(), CommandHSSetAll::Execute(), CommandHSSet::Execute(), CommandHSReject::Execute(), CommandHSActivate::Execute(), CommandHSRequest::Execute(), CommandHSOn::Execute(), CommandHSOff::Execute(), CommandHSGroup::Execute(), CommandHSDelAll::Execute(), CommandHSDel::Execute(), CommandCSStatus::Execute(), CommandCSSetSuccessor::Execute(), CommandCSSetFounder::Execute(), CommandCSAccess::Execute(), MyMemoServService::GetMemoInfo(), Panel::GetNickFromSession(), User::Identify(), User::IsIdentified(), User::IsRecognized(), User::KillInternal(), LoadVHosts(), ESHA256::OnCheckAuthentication(), ESHA1::OnCheckAuthentication(), EOld::OnCheckAuthentication(), ENone::OnCheckAuthentication(), EMD5::OnCheckAuthentication(), NSGhostRequest::OnFail(), NickServCore::OnNickIdentify(), HostServCore::OnNickIdentify(), NSResetPass::OnPreCommand(), SQLAuthenticationResult::OnResult(), IdentifyInterface::OnResult(), WebpanelRequest::OnSuccess(), NSIdentifyRequest::OnSuccess(), NSGroupRequest::OnSuccess(), NickServCore::OnUserConnect(), NickServCore::OnUserNickChange(), ReadDatabase(), req_send_memos(), rsend_notify(), CoreIRCDMessageStats::Run(), CoreIRCDMessageQuit::Run(), IRCDMessageEncap::Run(), IRCDMessageMetadata::Run(), IRCDMessageUID::Run(), IRCDMessageNick::Run(), CommandNSSetSecure::Run(), CommandNSSetPrivate::Run(), CommandNSSetMisc::Run(), CommandNSSetMessage::Run(), CommandNSSetLanguage::Run(), CommandNSSetKill::Run(), CommandNSSetHide::Run(), CommandNSSetGreet::Run(), CommandNSSetEmail::Run(), CommandNSSetDisplay::Run(), CommandNSSetChanstats::Run(), CommandNSSetAutoOp::Run(), MyMemoServService::Send(), User::SetRealname(), NickServCollide::Tick(), NickSuspend::unserialize(), HostRequest::unserialize(), User::UpdateHost(), MyNickServService::Validate(), Server::~Server(), and User::~User().

bool is_on_access ( const User u,
const NickCore nc 
)

Is the user's address on the nickcores access list?

Parameters:
u The user
nc The nickcore
Returns:
true or false

Definition at line 50 of file nickserv.cpp.

References NickCore::access, Anope::string::empty(), NickCore::GetAccess(), User::GetCloakedHost(), User::GetIdent(), User::host, Anope::Match(), and User::vhost.

Referenced by User::ChangeNick(), CommandNSRelease::Execute(), CommandNSRecover::Execute(), CommandNSGhost::Execute(), and User::UpdateHost().