]> jfr.im git - solanum.git/blobdiff - extensions/m_roleplay.c
Merge pull request #53 from ShadowNinja/clarify_U+R
[solanum.git] / extensions / m_roleplay.c
index de59c99146c79e472cd31e9441daa13ddf842ab4..0d439b0eb33727cb49ffe6030a4bf8f651ff2610 100644 (file)
@@ -6,9 +6,9 @@
  * to clearly show that it is fake. SCENE is a special case and not underlined.
  * these commands only work on channels set +N
  *
- * also adds oper commands FSAY and FACTION, which are like NPC and NPCA 
+ * also adds oper commands FSAY and FACTION, which are like NPC and NPCA
  * except without the underline.
- * 
+ *
  * all of these messages have the hostmask npc.fakeuser.invalid, and their ident
  * is the nickname of the user running the commands.
  */
@@ -66,32 +66,32 @@ struct Message scene_msgtab = {
 struct Message ambiance_msgtab = {
        "AMBIANCE", 0, 0, 0, MFLG_SLOW,
        {mg_unreg, {m_scene, 3}, mg_ignore, mg_ignore, mg_ignore, {m_scene, 3}}
-};  
+};
 
 struct Message fsay_msgtab = {
        "FSAY", 0, 0, 0, MFLG_SLOW,
        {mg_unreg, {m_npc, 4}, mg_ignore, mg_ignore, mg_ignore, {m_fsay, 4}}
-};  
+};
 
 struct Message faction_msgtab = {
        "FACTION", 0, 0, 0, MFLG_SLOW,
        {mg_unreg, {m_npca, 4}, mg_ignore, mg_ignore, mg_ignore, {m_faction, 4}}
-};  
+};
 
 struct Message npc_msgtab = {
        "NPC", 0, 0, 0, MFLG_SLOW,
        {mg_unreg, {m_npc, 4}, mg_ignore, mg_ignore, mg_ignore, {m_npc, 4}}
-};  
+};
 
 struct Message npca_msgtab = {
        "NPCA", 0, 0, 0, MFLG_SLOW,
        {mg_unreg, {m_npca, 4}, mg_ignore, mg_ignore, mg_ignore, {m_npca, 4}}
-};  
+};
 
 struct Message roleplay_msgtab = {
        "ROLEPLAY", 0, 0, 0, MFLG_SLOW,
        {mg_ignore, mg_ignore, mg_ignore, mg_ignore, {me_roleplay, 4}, mg_ignore}
-};  
+};
 
 mapi_clist_av1 roleplay_clist[] = { &scene_msgtab, &ambiance_msgtab, &fsay_msgtab, &faction_msgtab, &npc_msgtab, &npca_msgtab, &roleplay_msgtab, NULL };
 
@@ -221,6 +221,6 @@ me_roleplay(struct Client *client_p, struct Client *source_p, int parc, const ch
        if((chptr = find_channel(parv[1])) == NULL)
                return 0;
 
-       sendto_channel_local(ALL_MEMBERS, chptr, ":%s!%s@npc.fakeuser.invalid PRIVMSG %s :%s", parv[2], source_p->name, parv[1], parv[3]); 
+       sendto_channel_local(ALL_MEMBERS, chptr, ":%s!%s@npc.fakeuser.invalid PRIVMSG %s :%s", parv[2], source_p->name, parv[1], parv[3]);
        return 0;
 }