summaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-10-04 13:47:15 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-10-04 13:47:15 +0000
commitedac74f053a0a03a020870a2805c43c553b68723 (patch)
tree68beccc697896e7416768d270ce96f5a3b8df7a1 /src/modules
parentf863be724f761b1b49123ef23bf546ec8e9d2695 (diff)
*slaps* jamie for not using tabs to indent ;-p
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5409 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules')
-rw-r--r--src/modules/m_ident.cpp11
1 files changed, 5 insertions, 6 deletions
diff --git a/src/modules/m_ident.cpp b/src/modules/m_ident.cpp
index a92249f84..cacb405cb 100644
--- a/src/modules/m_ident.cpp
+++ b/src/modules/m_ident.cpp
@@ -52,14 +52,13 @@ class RFC1413 : public InspSocket
// so we just display a notice, and tidy off the ident_data.
if (u && (Instance->SE->GetRef(ufd) == u))
{
- char *newident;
-
+ char *newident;
u->Shrink("ident_data");
u->WriteServ("NOTICE "+std::string(u->nick)+" :*** Could not find your ident, using ~"+std::string(u->ident)+" instead.");
- strcpy(newident,"~");
- strlcat(newident,u->ident,IDENTMAX);
- strlcpy(u->ident,newident,IDENTMAX);
- }
+ strcpy(newident,"~");
+ strlcat(newident,u->ident,IDENTMAX);
+ strlcpy(u->ident,newident,IDENTMAX);
+ }
}
virtual bool OnDataReady()