]> git.netwichtig.de Git - user/henk/code/inspircd.git/commitdiff
Document ModuleSpanningTree::RemoteMessage. Maybe useful for other stuff.
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>
Sun, 26 Aug 2007 16:55:38 +0000 (16:55 +0000)
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>
Sun, 26 Aug 2007 16:55:38 +0000 (16:55 +0000)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7828 e03df62e-2008-0410-955e-edbf42e46eb7

src/modules/m_spanningtree/main.cpp

index 3a338a55a92327c744e47188fb340a4188c3d04b..5613251b08ddcb94f7d5dcf48fd45daea7064e1b 100644 (file)
@@ -624,7 +624,12 @@ int ModuleSpanningTree::HandleVersion(const char** parameters, int pcnt, userrec
        return 1;
 }
 
-/*
+/* This method will attempt to get a link message out to as many people as is required.
+ * If a user is provided, and that user is local, then the user is sent the message using
+ * WriteServ (they are the local initiator of that message). If the user is remote, they are
+ * sent that message remotely via PUSH.
+ * If the user is NULL, then the notice is sent locally via WriteToSnoMask with snomask 'l',
+ * and remotely via SNONOTICE with mask 'l'.
  */
 void ModuleSpanningTree::RemoteMessage(userrec* user, const char* format, ...)
 {