- WriteServ_NoFormat(User->fd,CompleteLine.c_str());
-}
-
-void Server::SendCommon(userrec* User, const std::string &text, bool IncludeSender)
-{
- if (IncludeSender)
- {
- WriteCommon_NoFormat(User,text.c_str());
- }
- else
- {
- WriteCommonExcept_NoFormat(User,text.c_str());
- }
-}
-
-void Server::SendWallops(userrec* User, const std::string &text)
-{
- WriteWallOps(User,false,"%s",text.c_str());
-}
-
-void Server::ChangeHost(userrec* user, const std::string &host)
-{
- ChangeDisplayedHost(user,host.c_str());
-}
-
-void Server::ChangeGECOS(userrec* user, const std::string &gecos)
-{
- ChangeName(user,gecos.c_str());
-}
-
-bool Server::IsNick(const std::string &nick)
-{
- return (isnick(nick.c_str()) != 0);
-}
-
-userrec* Server::FindNick(const std::string &nick)
-{
- return Find(nick);
-}
-
-userrec* Server::FindDescriptor(int socket)
-{
- return (socket < 65536 ? fd_ref_table[socket] : NULL);
-}
-
-chanrec* Server::FindChannel(const std::string &channel)
-{
- return FindChan(channel.c_str());
-}
-
-std::string Server::ChanMode(userrec* User, chanrec* Chan)
-{
- return cmode(User,Chan);
-}
-
-std::string Server::GetServerName()
-{
- return Config->ServerName;
-}
-
-std::string Server::GetNetworkName()
-{
- return Config->Network;
-}
-
-std::string Server::GetServerDescription()
-{
- return Config->ServerDesc;
-}
-
-Admin Server::GetAdmin()
-{
- return Admin(Config->AdminName,Config->AdminEmail,Config->AdminNick);
-}
-
-
-bool Server::AddMode(ModeHandler* mh, const unsigned char mode)
-{
- return ServerInstance->ModeGrok->AddMode(mh,mode);