ISpoofFormat: Go through ExpandString()
ISpoofFormat: Go through ExpandString()

ISpoofFormat now can be used with e.g. %user% which allows some kind of
poor-man's DenySetIdent (force ident to be user name).

For backward compatibility, if ExpandString() doesn't change the string we just
replace all "%" with the user's ident.

Thanks to DarthGandalf for the idea and the patch.


git-svn-id: 3ad904ec35b89a071badd9cb0113dfe58093e920@1670 726aef4b-f618-498e-8847-2d620e286838

KiNgMaR/znc,DarthGandalf/znc,znc/znc,Zarthus/znc,znc/znc,jreese/znc,jreese/znc,TuffLuck/znc,TingPing/znc,Hasimir/znc,Hasimir/znc,DarthGandalf/znc,aarondunlap/znc,GLolol/znc,Mikaela/znc,badloop/znc,wolfy1339/znc,aarondunlap/znc,Kriechi/znc,anthonyryan1/znc,ollie27/znc,KiNgMaR/znc,aarondunlap/znc,Kriechi/znc,wolfy1339/znc,Hasimir/znc,withinsoft/znc,TingPing/znc,znc/znc,jantman/znc,reedloden/znc,jpnurmi/znc,YourBNC/znc,jreese/znc,Mkaysi/znc,TuffLuck/znc,reedloden/znc,TuffLuck/znc,Kriechi/nobnc,Kriechi/nobnc,KielBNC/znc,jantman/znc,KiNgMaR/znc,psychon/znc,markusj/znc,Adam-/znc,reedloden/znc,YourBNC/znc,jantman/znc,wolfy1339/znc,evilnet/znc,markusj/znc,reedloden/znc,dgw/znc,badloop/znc,Phansa/znc,jantman/znc,Mkaysi/znc,jantman/znc,markusj/znc,YourBNC/znc,Mikaela/znc,DarthGandalf/znc,Kriechi/znc,badloop/znc,Hasimir/znc,DarthGandalf/znc,Zarthus/znc,jpnurmi/znc,anthonyryan1/znc,badloop/znc,evilnet/znc,Mkaysi/znc,Mkaysi/znc,kashike/znc,aarondunlap/znc,evilnet/znc,trisk/znc,jreese/znc,dgw/znc,Kriechi/znc,badloop/znc,psychon/znc,Zarthus/znc,ollie27/znc,TuffLuck/znc,GLolol/znc,Adam-/znc,BtbN/znc,withinsoft/znc,psychon/znc,dgw/znc,wolfy1339/znc,dgw/znc,reedloden/znc,GLolol/znc,markusj/znc,jpnurmi/znc,Adam-/znc,ollie27/znc,anthonyryan1/znc,YourBNC/znc,Adam-/znc,TuffLuck/znc,GLolol/znc,trisk/znc,elyscape/znc,Hasimir/znc,znc/znc,kashike/znc,znc/znc,Kriechi/znc,Hasimir/znc,jantman/znc,DarthGandalf/znc,dgw/znc,trisk/znc,elyscape/znc,Zarthus/znc,kashike/znc,anthonyryan1/znc,markusj/znc,wolfy1339/znc,kashike/znc,elyscape/znc,aarondunlap/znc,jpnurmi/znc,BtbN/znc,evilnet/znc,trisk/znc,Mikaela/znc,KiNgMaR/znc,TingPing/znc,GLolol/znc,Kriechi/nobnc,markusj/znc,TingPing/znc,DarthGandalf/znc,anthonyryan1/znc,withinsoft/znc,kashike/znc,Adam-/znc,withinsoft/znc,jreese/znc,wolfy1339/znc,Phansa/znc,KiNgMaR/znc,GLolol/znc,elyscape/znc,znc/znc,trisk/znc,badloop/znc,Phansa/znc,evilnet/znc,aarondunlap/znc,KielBNC/znc,Mkaysi/znc,Kriechi/znc,Adam-/znc,withinsoft/znc,BtbN/znc,kashike/znc,psychon/znc,Phansa/znc,ollie27/znc,Zarthus/znc,evilnet/znc,TuffLuck/znc,KielBNC/znc,jpnurmi/znc,BtbN/znc,trisk/znc,KielBNC/znc,TingPing/znc,jpnurmi/znc,anthonyryan1/znc,Mkaysi/znc,jreese/znc,Phansa/znc,badloop/znc,psychon/znc,Mikaela/znc,elyscape/znc,TingPing/znc,KielBNC/znc,ollie27/znc,anthonyryan1/znc,Phansa/znc,ollie27/znc,KiNgMaR/znc,YourBNC/znc,Mikaela/znc,Mkaysi/znc,psychon/znc,BtbN/znc,reedloden/znc,aarondunlap/znc,Adam-/znc,Zarthus/znc,withinsoft/znc,jpnurmi/znc,Mikaela/znc,BtbN/znc,dgw/znc,KielBNC/znc,TuffLuck/znc,Mikaela/znc,YourBNC/znc,elyscape/znc,Hasimir/znc